summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 59d730c..e433494 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -95,6 +95,11 @@ Socket methods:
#define O_NDELAY O_NONBLOCK /* For QNX only? */
#endif
+#ifdef USE_GUSI
+/* fdopen() isn't declared in stdio.h (sigh) */
+#include <GUSI.h>
+#endif
+
/* Here we have some hacks to choose between K&R or ANSI style function
definitions. For NT to build this as an extension module (ie, DLL)