projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Big header file cleanup: everything that has to do with standard system
[oweals/tinc.git]
/
src
/
route.c
diff --git
a/src/route.c
b/src/route.c
index f00728c76e71d30632621808153e5486576586d0..3d9b28bd24a24b7d158e753e74baaa5211d05e87 100644
(file)
--- a/
src/route.c
+++ b/
src/route.c
@@
-17,50
+17,39
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: route.c,v 1.1.2.5
8 2003/07/15 16:26:18
guus Exp $
+ $Id: route.c,v 1.1.2.5
9 2003/07/17 15:06:27
guus Exp $
*/
*/
-#include "
config
.h"
+#include "
system
.h"
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
-#include <sys/socket.h>
-#include <netinet/in.h>
-#ifdef HAVE_NET_IF_H
-#include <net/if.h>
-#endif
#ifdef HAVE_NET_ETHERNET_H
#include <net/ethernet.h>
#endif
#ifdef HAVE_NET_ETHERNET_H
#include <net/ethernet.h>
#endif
-#ifdef HAVE_NET
INET_IN_SYSTM
_H
-#include <net
inet/in_systm
.h>
+#ifdef HAVE_NET
_IF_ARP
_H
+#include <net
/if_arp
.h>
#endif
#endif
-#i
nclude <netinet/ip.h>
+#i
fdef HAVE_NETINET_IP_ICMP_H
#include <netinet/ip_icmp.h>
#include <netinet/ip_icmp.h>
+#endif
#ifdef HAVE_NETINET_IP6_H
#include <netinet/ip6.h>
#ifdef HAVE_NETINET_IP6_H
#include <netinet/ip6.h>
+#endif
+#ifdef HAVE_NETINET_ICMP6_H
#include <netinet/icmp6.h>
#endif
#include <netinet/icmp6.h>
#endif
+#ifdef HAVE_NETINET_IF_ETHER_H
#include <netinet/if_ether.h>
#include <netinet/if_ether.h>
-#include <utils.h>
-#include <xalloc.h>
-#include <string.h>
-#ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
#endif
#endif
-#include <avl_tree.h>
-
-#include "net.h"
+#include "avl_tree.h"
#include "connection.h"
#include "connection.h"
-#include "subnet.h"
-#include "route.h"
-#include "protocol.h"
#include "device.h"
#include "logger.h"
#include "device.h"
#include "logger.h"
-
-#include "system.h"
+#include "net.h"
+#include "protocol.h"
+#include "route.h"
+#include "subnet.h"
+#include "utils.h"
/* Missing definitions */
/* Missing definitions */