added watt32 headers and brought the DOS version up to parity with UNIX
[oftp] / libs / watt32 / ws2tcpip.h
diff --git a/libs/watt32/ws2tcpip.h b/libs/watt32/ws2tcpip.h
new file mode 100644 (file)
index 0000000..1d985e9
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef _WATT32_FAKE_WS2TCPIP_H
+#define _WATT32_FAKE_WS2TCPIP_H
+
+#ifndef __SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
+#if !defined(WIN32) && !defined(_WIN32)
+#error This file is only for Watt-32 targeting Windows programs.
+#endif
+
+#endif
+