From 849292a188125fdb7ca7e9c7c51def4c3392922f Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Tue, 27 Aug 1996 06:56:08 +0000 Subject: [PATCH] first attempt at centralizing config information for ports --- src/include/config.h | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/src/include/config.h b/src/include/config.h index 72fd8648c3..0bf483d4ca 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 */ -#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