summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-31 23:30:21 +0000
committerMartin Mares <mj@ucw.cz>2000-03-31 23:30:21 +0000
commit221135d6bf256c85b4aeb08881d6262f6eaadff4 (patch)
treeb2e09621cefeb03e184e80ea0373c3f7bb26c913 /proto/ospf
parentc00d31befab5a7e932231f7a8050547c72c94631 (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 '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 c07d3347..c2db08d1 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 12eff1e8..f32476df 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"