]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Only include <netinet/in_systm.h> if it exists
authorAlexander Barton <alex@barton.de>
Fri, 23 Apr 2010 09:04:15 +0000 (11:04 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 23 Apr 2010 09:04:15 +0000 (11:04 +0200)
src/ngircd/conn.c

index 0ff6067f7fe73611340d78c79e60033cb68cc1d0..853ffe8b25b6f65d67caebfb5459d31cbf1ad432 100644 (file)
@@ -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