 
            Module: ngircd.git Branch: master Commit: 1caa3fb94b6e23d7b63183f6cb6c97ed1821350c URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=1caa3fb94... Author: Alexander Barton <alex@barton.de> Date: Sun Apr 11 16:58:29 2010 +0000 Include netinet/in_systm.h alongside netinet/ip.h 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 | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index ab975b3..0ff6067 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -37,6 +37,7 @@ #include <netinet/in.h> #ifdef HAVE_NETINET_IP_H +# include <netinet/in_systm.h> # include <netinet/ip.h> #endif