Module: ngircd.git Branch: master Commit: b042363e88a6d89790a9cc5061bdff78108c6909 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=b0423...
Author: Alexander Barton alex@barton.de Date: Fri Apr 23 11:04:15 2010 +0200
Only include <netinet/in_systm.h> if it exists
---
src/ngircd/conn.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 0ff6067..853ffe8 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -37,7 +37,9 @@ #include <netinet/in.h>
#ifdef HAVE_NETINET_IP_H -# include <netinet/in_systm.h> +# ifdef HAVE_NETINET_IN_SYSTM_H +# include <netinet/in_systm.h> +# endif # include <netinet/ip.h> #endif
ngircd-commits@lists.barton.de