]> jfr.im git - irc/ircd-hybrid/libopm.git/commitdiff
Check HAVE_FCNTL_H.
authorandy <redacted>
Thu, 12 Sep 2002 05:45:07 +0000 (05:45 +0000)
committerandy <redacted>
Thu, 12 Sep 2002 05:45:07 +0000 (05:45 +0000)
src/inet.h

index 17d91d9b7eb26fc60501ad92a5d224d4989e85ad..32f0e82803ea1b845342b3db0e1146b26c1b3491 100644 (file)
@@ -6,7 +6,9 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
-#include <fcntl.h>
+#ifdef HAVE_FCNTL_H
+# include <fcntl.h>
+#endif
 #include <sys/types.h>
 
 #ifdef HAVE_SYS_POLL_H