diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 59d730cf0b7..e4334944d5f 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 +#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)