aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/config.h25
1 files changed, 23 insertions, 2 deletions
diff --git a/src/include/config.h b/src/include/config.h
index 72fd8648c3b..0bf483d4ca3 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -4,7 +4,28 @@
eventual use of autoconf to build the server
*/
-/* un-Define this if your system does not have <unistd.h> */
-#define HAVE_UNISTD_H
+#if defined(WIN32)
+# define NO_UNISTD_H
+# define USES_WINSOCK
+#endif /* WIN32 */
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+# define USE_LIMITS_H
+#endif
+
+#if defined(bsdi)
+# define USE_LIMITS_H
+#endif
+
+#if defined(bsdi_2_1)
+# define USE_LIMITS_H
+#endif
+
+#if defined(aix)
+# define NEED_SYS_SELECT_H
+#endif
+
+#if defined(irix5)
+# define NO_VFORK
+#endif