added watt32 headers and brought the DOS version up to parity with UNIX
[oftp] / libs / watt32 / sys / errno.h
diff --git a/libs/watt32/sys/errno.h b/libs/watt32/sys/errno.h
new file mode 100644 (file)
index 0000000..cb4f886
--- /dev/null
@@ -0,0 +1,15 @@
+/*!\file sys/errno.h
+ *
+ * Compatibility header.
+ */
+
+/*
+ * The naming <sys/w??.h> is required for those compilers that
+ * have <sys/??.h> in the usual place but doesn't define stuff
+ * related to Watt-32's BSD-socket interface.
+ */
+
+#ifndef __SYS_WERRNO_H
+#include <sys/werrno.h>
+#endif
+