summaryrefslogtreecommitdiff
path: root/ghc/lib/misc/cbits/socketOpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/lib/misc/cbits/socketOpt.c')
-rw-r--r--ghc/lib/misc/cbits/socketOpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc/lib/misc/cbits/socketOpt.c b/ghc/lib/misc/cbits/socketOpt.c
index e8d5d843c1..ddda6c18b9 100644
--- a/ghc/lib/misc/cbits/socketOpt.c
+++ b/ghc/lib/misc/cbits/socketOpt.c
@@ -8,8 +8,9 @@
#endif
#define NON_POSIX_SOURCE
-#include "rtsdefs.h"
+#include "Rts.h"
#include "ghcSockets.h"
+#include "stgio.h"
StgInt
getSocketOption__ (fd, opt)