diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-02-14 15:57:45 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-02-14 15:57:45 (GMT) |
commit | 508537b9c9fc38adf0d46e8d5d691e1ef7613b02 (patch) | |
tree | 5e4dc96bc77af9a6609c02b6c73fb30f0b17cc1c /Modules/socketmodule.c | |
parent | e8a0a5c92a9fbfe0816a592d857cd75e7a875092 (diff) | |
download | cpython-508537b9c9fc38adf0d46e8d5d691e1ef7613b02.zip cpython-508537b9c9fc38adf0d46e8d5d691e1ef7613b02.tar.gz cpython-508537b9c9fc38adf0d46e8d5d691e1ef7613b02.tar.bz2 |
Include GUSI.h if using gusi-sockets
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 5 |
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) |