From: Jack Jansen Date: Wed, 14 Feb 1996 15:57:45 +0000 (+0000) Subject: Include GUSI.h if using gusi-sockets X-Git-Tag: v1.4b1~352 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=508537b9c9fc38adf0d46e8d5d691e1ef7613b02;p=python Include GUSI.h if using gusi-sockets --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 59d730cf0b..e4334944d5 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)