summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-01 01:30:21 +0200
committerMartin Mares <mj@ucw.cz>2000-04-01 01:30:21 +0200
commit221135d6bf256c85b4aeb08881d6262f6eaadff4 (patch)
treeb2e09621cefeb03e184e80ea0373c3f7bb26c913 /proto/ospf
parentc00d31befab5a7e932231f7a8050547c72c94631 (diff)
downloadbird-221135d6bf256c85b4aeb08881d6262f6eaadff4.tar
bird-221135d6bf256c85b4aeb08881d6262f6eaadff4.zip
Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/ospf.h2
-rw-r--r--proto/ospf/topology.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index c07d334..c2db08d 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -13,8 +13,6 @@
#define SIPH 64 /* FIXME Size Of IP header */
-#include <string.h>
-
#include "nest/bird.h"
#include "lib/checksum.h"
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 12eff1e..f32476d 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -9,9 +9,8 @@
#define LOCAL_DEBUG
-#include <string.h>
-
#include "nest/bird.h"
+#include "lib/string.h"
#include "ospf.h"