]> granicus.if.org Git - python/commitdiff
Include GUSI.h if using gusi-sockets
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 14 Feb 1996 15:57:45 +0000 (15:57 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 14 Feb 1996 15:57:45 +0000 (15:57 +0000)
Modules/socketmodule.c

index 59d730cf0b75e52c6312cb0cde333d1f02e2c539..e4334944d5fff35cae60001614dc24c70aef97bf 100644 (file)
@@ -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)