]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Include netinet/in_systm.h alongside netinet/ip.h
authorAlexander Barton <alex@barton.de>
Sun, 11 Apr 2010 16:58:29 +0000 (16:58 +0000)
committerAlexander Barton <alex@barton.de>
Sun, 11 Apr 2010 16:58:29 +0000 (16:58 +0000)
This fixes the following error when compiling on e.g. FreeBSD 6.x:

In file included from conn.c:40:
/usr/include/netinet/ip.h:160: error: syntax error before "n_long"
/usr/include/netinet/ip.h:163: error: syntax error before "n_long"

src/ngircd/conn.c

index ab975b31c7d97810e0fec421bee7e2259282a9c3..0ff6067f7fe73611340d78c79e60033cb68cc1d0 100644 (file)
@@ -37,6 +37,7 @@
 #include <netinet/in.h>
 
 #ifdef HAVE_NETINET_IP_H
+# include <netinet/in_systm.h>
 # include <netinet/ip.h>
 #endif