summaryrefslogtreecommitdiffstats
path: root/lib/ipv4.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-29 21:14:43 +0200
committerMartin Mares <mj@ucw.cz>1999-03-29 21:14:43 +0200
commitf54801ffedf3d6342b37c1560502bfc24e7fe64a (patch)
tree2e8af87bd5690a6a52d12385bc91ad2cbb987163 /lib/ipv4.h
parent6134024815adf2541293008f848dce4e8a21d061 (diff)
downloadbird-f54801ffedf3d6342b37c1560502bfc24e7fe64a.tar
bird-f54801ffedf3d6342b37c1560502bfc24e7fe64a.zip
Moved all system-dependent #include's containing endianity conversion
functions to sysdep header endian.h.
Diffstat (limited to 'lib/ipv4.h')
-rw-r--r--lib/ipv4.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ipv4.h b/lib/ipv4.h
index 4ae3e95..d136536 100644
--- a/lib/ipv4.h
+++ b/lib/ipv4.h
@@ -1,7 +1,7 @@
/*
* BIRD -- IP Addresses et Cetera for IPv4
*
- * (c) 1998 Martin Mares <mj@ucw.cz>
+ * (c) 1998--1999 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
@@ -9,8 +9,7 @@
#ifndef _BIRD_IPV4_H_
#define _BIRD_IPV4_H_
-#include <netinet/in.h>
-
+#include "lib/endian.h"
#include "lib/bitops.h"
#ifdef DEBUGGING