Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 508537b

Browse files
committed
Include GUSI.h if using gusi-sockets
1 parent e8a0a5c commit 508537b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Modules/socketmodule.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ Socket methods:
9595
#define O_NDELAY O_NONBLOCK /* For QNX only? */
9696
#endif
9797

98+
#ifdef USE_GUSI
99+
/* fdopen() isn't declared in stdio.h (sigh) */
100+
#include <GUSI.h>
101+
#endif
102+
98103

99104
/* Here we have some hacks to choose between K&R or ANSI style function
100105
definitions. For NT to build this as an extension module (ie, DLL)

0 commit comments

Comments
 (0)