From: simonm Date: Mon, 17 Aug 1998 12:04:16 +0000 (+0000) Subject: [project @ 1998-08-17 12:04:16 by simonm] X-Git-Tag: Approx_2487_patches~318 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f1ab41433b5145ebf914681053ed2fe00a72f987;p=ghc-hetmet.git [project @ 1998-08-17 12:04:16 by simonm] include netinet/tcp.h if available. --- diff --git a/ghc/lib/misc/cbits/ghcSockets.h b/ghc/lib/misc/cbits/ghcSockets.h index b3a270d..ad37d02 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 #endif +#ifdef HAVE_NETINET_TCP_H +# include +#endif #if TIME_WITH_SYS_TIME # include # include