summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/io.c1
-rw-r--r--sysdep/unix/krt-iface.c2
-rw-r--r--sysdep/unix/krt-set.c2
-rw-r--r--sysdep/unix/main.c2
4 files changed, 3 insertions, 4 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 0925609..1ee1c07 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -8,7 +8,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/sysdep/unix/krt-iface.c b/sysdep/unix/krt-iface.c
index da3df2d..bd4a40a 100644
--- a/sysdep/unix/krt-iface.c
+++ b/sysdep/unix/krt-iface.c
@@ -6,7 +6,6 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@ -22,6 +21,7 @@
#include "nest/protocol.h"
#include "lib/timer.h"
#include "lib/krt.h"
+#include "lib/string.h"
#include "unix.h"
diff --git a/sysdep/unix/krt-set.c b/sysdep/unix/krt-set.c
index 7242450..bd56448 100644
--- a/sysdep/unix/krt-set.c
+++ b/sysdep/unix/krt-set.c
@@ -6,7 +6,6 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@ -21,6 +20,7 @@
#include "nest/protocol.h"
#include "lib/unix.h"
#include "lib/krt.h"
+#include "lib/string.h"
int
krt_capable(rte *e)
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index dcd921f..121ec9d 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -9,7 +9,6 @@
#define LOCAL_DEBUG
#include <stdio.h>
-#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
@@ -20,6 +19,7 @@
#include "lib/resource.h"
#include "lib/socket.h"
#include "lib/event.h"
+#include "lib/string.h"
#include "nest/route.h"
#include "nest/protocol.h"
#include "nest/iface.h"