- netinet/* include files depend on netinet/in_systm.h.
[tinc] / src / route.c
index 9ddb1d1..a552eaf 100644 (file)
@@ -17,7 +17,7 @@
     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.40 2002/06/08 12:57:10 guus Exp $
+    $Id: route.c,v 1.1.2.42 2002/06/08 14:08:57 guus Exp $
 */
 
 #include "config.h"
@@ -33,6 +33,9 @@
 #ifdef HAVE_NET_ETHERNET_H
  #include <net/ethernet.h>
 #endif
+#ifdef HAVE_NETINET_IN_SYSTM_H
+ #include <netinet/in_systm.h>
+#endif
 #include <netinet/ip6.h>
 #include <netinet/icmp6.h>
 #include <netinet/if_ether.h>
@@ -40,8 +43,8 @@
 #include <xalloc.h>
 #include <syslog.h>
 #include <string.h>
-#ifdef HAVE_STDINT_H
- #include <stdint.h>
+#ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
 #endif
 
 #include <avl_tree.h>