diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-27 12:50:34 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-27 12:50:34 +0000 |
commit | 58a50f6288bdd18f3f469352f83c5e7ade50ee7a (patch) | |
tree | 75e3cf009472464e5cedca77f1c708bab1b5fb1e /win32/win32sck.c | |
parent | 35ff78560a01016ce2a3dffe29f18ce851bc0b90 (diff) | |
download | perl-58a50f6288bdd18f3f469352f83c5e7ade50ee7a.tar.gz |
[asperl] add AS patch#21 (misc. fixes)
p4raw-id: //depot/asperl@1036
Diffstat (limited to 'win32/win32sck.c')
-rw-r--r-- | win32/win32sck.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/win32sck.c b/win32/win32sck.c index bcf180ad62..74af5d7756 100644 --- a/win32/win32sck.c +++ b/win32/win32sck.c @@ -28,6 +28,7 @@ extern CPerlObj* pPerl; #include "XSUB.h" #endif +#include "Win32iop.h" #include <sys/socket.h> #include <fcntl.h> #include <sys/stat.h> @@ -36,7 +37,7 @@ extern CPerlObj* pPerl; /* thanks to Beverly Brown (beverly@datacube.com) */ #ifdef USE_SOCKETS_AS_HANDLES -# define OPEN_SOCKET(x) _open_osfhandle(x,O_RDWR|O_BINARY) +# define OPEN_SOCKET(x) win32_open_osfhandle(x,O_RDWR|O_BINARY) # define TO_SOCKET(x) _get_osfhandle(x) #else # define OPEN_SOCKET(x) (x) |