[project @ 1998-08-17 12:04:16 by simonm]
authorsimonm <unknown>
Mon, 17 Aug 1998 12:04:16 +0000 (12:04 +0000)
committersimonm <unknown>
Mon, 17 Aug 1998 12:04:16 +0000 (12:04 +0000)
include netinet/tcp.h if available.

ghc/lib/misc/cbits/ghcSockets.h

index b3a270d..ad37d02 100644 (file)
@@ -19,6 +19,9 @@
 #ifdef HAVE_SYS_SOCKET_H
 # include <sys/socket.h>
 #endif
+#ifdef HAVE_NETINET_TCP_H
+# include <netinet/tcp.h>
+#endif
 #if TIME_WITH_SYS_TIME
 # include <sys/time.h>
 # include <time.h>