From f1ab41433b5145ebf914681053ed2fe00a72f987 Mon Sep 17 00:00:00 2001 From: simonm <unknown> Date: Mon, 17 Aug 1998 12:04:16 +0000 Subject: [PATCH] [project @ 1998-08-17 12:04:16 by simonm] include netinet/tcp.h if available. --- ghc/lib/misc/cbits/ghcSockets.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ghc/lib/misc/cbits/ghcSockets.h b/ghc/lib/misc/cbits/ghcSockets.h index b3a270d03281..ad37d02f8b97 100644 --- 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> -- GitLab