projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
931242f
)
[project @ 1998-08-17 12:04:16 by simonm]
author
simonm
<unknown>
Mon, 17 Aug 1998 12:04:16 +0000
(12:04 +0000)
committer
simonm
<unknown>
Mon, 17 Aug 1998 12:04:16 +0000
(12:04 +0000)
include netinet/tcp.h if available.
ghc/lib/misc/cbits/ghcSockets.h
patch
|
blob
|
history
diff --git
a/ghc/lib/misc/cbits/ghcSockets.h
b/ghc/lib/misc/cbits/ghcSockets.h
index
b3a270d
..
ad37d02
100644
(file)
--- a/
ghc/lib/misc/cbits/ghcSockets.h
+++ b/
ghc/lib/misc/cbits/ghcSockets.h
@@
-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>