repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 1caa3fb94b6e23d7b63183f6cb6c97ed1821350c:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 1caa3fb94b6e23d7b63183f6cb6c97ed1821350c
Author: Alexander Barton 
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"

diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index ab975b31c7d97810e0fec421bee7e2259282a9c3..
index ..0ff6067f7fe73611340d78c79e60033cb68cc1d0 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -37,6 +37,7 @@
 #include 

 #ifdef HAVE_NETINET_IP_H
+# include 
 # include 
 #endif

-----END OF PAGE-----