diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-31 23:30:21 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-31 23:30:21 +0000 |
commit | 221135d6bf256c85b4aeb08881d6262f6eaadff4 (patch) | |
tree | b2e09621cefeb03e184e80ea0373c3f7bb26c913 /sysdep/linux | |
parent | c00d31befab5a7e932231f7a8050547c72c94631 (diff) |
Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.
Diffstat (limited to 'sysdep/linux')
-rw-r--r-- | sysdep/linux/krt-scan.c | 2 | ||||
-rw-r--r-- | sysdep/linux/netlink/netlink.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/linux/krt-scan.c b/sysdep/linux/krt-scan.c index c7a5a860..42f92877 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 <string.h> #include <stdio.h> #include <ctype.h> #include <fcntl.h> @@ -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 9168e9f9..86f13f0b 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 <string.h> #include <stdio.h> #include <fcntl.h> #include <net/if.h> @@ -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 <asm/types.h> |