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/linux/krt-scan.c | 2 +- sysdep/linux/netlink/netlink.c | 2 +- sysdep/unix/io.c | 1 - sysdep/unix/krt-iface.c | 2 +- sysdep/unix/krt-set.c | 2 +- sysdep/unix/main.c | 2 +- 6 files changed, 5 insertions(+), 6 deletions(-) (limited to 'sysdep') diff --git a/sysdep/linux/krt-scan.c b/sysdep/linux/krt-scan.c index c7a5a86..42f9287 100644 --- a/sysdep/linux/krt-scan.c +++ b/sysdep/linux/krt-scan.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 "lib/timer.h" #include "lib/unix.h" #include "lib/krt.h" +#include "lib/string.h" static int krt_scan_fd = -1; diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c index 9168e9f..86f13f0 100644 --- a/sysdep/linux/netlink/netlink.c +++ b/sysdep/linux/netlink/netlink.c @@ -6,7 +6,6 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#include #include #include #include @@ -24,6 +23,7 @@ #include "lib/unix.h" #include "lib/krt.h" #include "lib/socket.h" +#include "lib/string.h" #include "conf/conf.h" #include 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 #include -#include #include #include #include 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 #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 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 #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 dcd921f..121ec9d 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