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 672162c5cb..b2ad2a33ea 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -183,6 +183,7 @@ extern char *rb_w32_join_argv(char *, char *const *); extern int rb_w32_spawn(int, const char *, const char*); extern int rb_w32_aspawn(int, const char *, char *const *); extern int kill(int, int); +extern int fcntl(int, int, ...); extern pid_t rb_w32_getpid(void); #ifdef __BORLANDC__ @@ -324,6 +325,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 |