summaryrefslogtreecommitdiff
path: root/win32/include
diff options
context:
space:
mode:
Diffstat (limited to 'win32/include')
-rwxr-xr-xwin32/include/sys/socket.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/win32/include/sys/socket.h b/win32/include/sys/socket.h
index 6552cb5ee..be5d9a614 100755
--- a/win32/include/sys/socket.h
+++ b/win32/include/sys/socket.h
@@ -20,6 +20,9 @@
* WIN32 PORT,
*/
+#ifndef _SOCKET_H
+#define _SOCKET_H
+
#include <fcntl.h> /* Not sure that this is needed */
#include <io.h> /* open, close, ... */
@@ -31,8 +34,4 @@
#define SIGALRM 14
#endif
-/* Some real good hacks! */
-#undef errno
-#define errno WSAGetLastError
-
-#define EINPROGRESS WSAEINPROGRESS
+#endif /* _SOCKET_H */ \ No newline at end of file