diff options
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index a4e5ab20dc..9f0e41fbb8 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -186,6 +186,7 @@ extern pid_t waitpid (pid_t, int *, int); extern int do_spawn(int, char *); extern int do_aspawn(int, char *, char **); extern int kill(int, int); +extern int fcntl(int, int, ...); extern pid_t rb_w32_getpid(void); #if !defined(__BORLANDC__) && !defined(_WIN32_WCE) @@ -334,6 +335,9 @@ extern char *rb_w32_strerror(int); #define ESTALE WSAESTALE #define EREMOTE WSAEREMOTE +#define F_SETFL 1 +#define O_NONBLOCK 1 + #ifdef accept #undef accept #endif |