summaryrefslogtreecommitdiff
path: root/win32/win32sck.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-27 12:50:34 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-27 12:50:34 +0000
commit58a50f6288bdd18f3f469352f83c5e7ade50ee7a (patch)
tree75e3cf009472464e5cedca77f1c708bab1b5fb1e /win32/win32sck.c
parent35ff78560a01016ce2a3dffe29f18ce851bc0b90 (diff)
downloadperl-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.c3
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)