From 221135d6bf256c85b4aeb08881d6262f6eaadff4 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 31 Mar 2000 23:30:21 +0000 Subject: Include "lib/string.h" instead of . It should give us bzero() and other non-portable functions on all systems. --- sysdep/unix/io.c | 1 - sysdep/unix/krt-iface.c | 2 +- sysdep/unix/krt-set.c | 2 +- sysdep/unix/main.c | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) (limited to 'sysdep/unix') diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 0925609b..1ee1c073 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -8,7 +8,6 @@ #include #include -#include #include #include #include diff --git a/sysdep/unix/krt-iface.c b/sysdep/unix/krt-iface.c index da3df2d2..bd4a40a7 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 #include #include #include @@ -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 72424506..bd564486 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 #include #include #include @@ -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 dcd921f0..121ec9dc 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -9,7 +9,6 @@ #define LOCAL_DEBUG #include -#include #include #include #include @@ -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" -- cgit v1.2.3