aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Enum.cc2
-rw-r--r--lib/bufferstore.cc3
-rw-r--r--lib/plpdirent.h1
-rw-r--r--lib/ppsocket.cc1
-rw-r--r--ncpd/channel.cc1
-rw-r--r--ncpd/linkchan.cc1
-rw-r--r--ncpd/main.cc1
-rw-r--r--ncpd/packet.cc1
8 files changed, 11 insertions, 0 deletions
diff --git a/lib/Enum.cc b/lib/Enum.cc
index 2ede013..901de49 100644
--- a/lib/Enum.cc
+++ b/lib/Enum.cc
@@ -24,6 +24,8 @@
#include <config.h>
#endif
+#include <cstring>
+
#include "Enum.h"
using namespace std;
diff --git a/lib/bufferstore.cc b/lib/bufferstore.cc
index 17e4b9b..56cd8b1 100644
--- a/lib/bufferstore.cc
+++ b/lib/bufferstore.cc
@@ -28,6 +28,9 @@
#include "bufferstore.h"
+#include <cstring>
+#include <cstdlib>
+
// Should be iostream.h, but won't build on Sun WorkShop C++ 5.0
#include <iomanip>
#include <string>
diff --git a/lib/plpdirent.h b/lib/plpdirent.h
index 2c11e7e..cab5768 100644
--- a/lib/plpdirent.h
+++ b/lib/plpdirent.h
@@ -25,6 +25,7 @@
#include <iostream>
#include <string>
+#include <cstring>
#include <psitime.h>
#include <rfsv.h>
diff --git a/lib/ppsocket.cc b/lib/ppsocket.cc
index 7dd4dfd..685df44 100644
--- a/lib/ppsocket.cc
+++ b/lib/ppsocket.cc
@@ -29,6 +29,7 @@
#include "ppsocket.h"
#include "iowatch.h"
+#include <cstring>
#include <iostream>
#include <stdio.h>
diff --git a/ncpd/channel.cc b/ncpd/channel.cc
index 6c92e86..92408d5 100644
--- a/ncpd/channel.cc
+++ b/ncpd/channel.cc
@@ -27,6 +27,7 @@
#include <cstdlib>
#include <iostream>
#include <string>
+#include <cstring>
#include "channel.h"
#include "ncp.h"
diff --git a/ncpd/linkchan.cc b/ncpd/linkchan.cc
index 7c2a231..2d8695b 100644
--- a/ncpd/linkchan.cc
+++ b/ncpd/linkchan.cc
@@ -23,6 +23,7 @@
*/
#include <iomanip>
#include <string>
+#include <cstring>
#include <bufferstore.h>
#include <bufferarray.h>
diff --git a/ncpd/main.cc b/ncpd/main.cc
index 851ea9f..616bcac 100644
--- a/ncpd/main.cc
+++ b/ncpd/main.cc
@@ -26,6 +26,7 @@
#endif
#include <string>
+#include <cstring>
#include <iostream>
#include <bufferstore.h>
diff --git a/ncpd/packet.cc b/ncpd/packet.cc
index 48f2a5e..5068de7 100644
--- a/ncpd/packet.cc
+++ b/ncpd/packet.cc
@@ -26,6 +26,7 @@
#endif
#include <string>
+#include <cstring>
#include <fstream>
#include <iomanip>