From 94dd48c9ddce14d78bbcf4e2cfab9d46a673707a Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Wed, 16 May 2001 00:15:54 +0000 Subject: [PATCH] fix-bad-logic-in-afsconfig-h-in-20010515 fix some iverted logic --- src/afsconfig.h.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/afsconfig.h.in b/src/afsconfig.h.in index 5f8e26521..851120400 100644 --- a/src/afsconfig.h.in +++ b/src/afsconfig.h.in @@ -22,6 +22,10 @@ #ifndef AFS_NT40_ENV #define HAVE_UNISTD_H #define HAVE_FCNTL_H +#define HAVE_SYS_TIME_H +#define HAVE_SYS_FILE_H +#define HAVE_NETINET_IN_H +#define HAVE_NETDB_H #endif #ifdef AFS_SUN5_ENV @@ -30,13 +34,11 @@ #define HAVE_SYS_MNTENT_H #endif -#if defined(AFS_SUN_ENV) || defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_LINUX20_ENV) +#if defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_LINUX20_ENV) || (defined(AFS_SUN_ENV) && !defined(AFS_SUN5_ENV)) #define HAVE_MNTENT_H #endif -#if defined(AFS_OSF_ENV) || defined(AFS_DEC_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV) -#define HAVE_SYS_MOUNT_H -#else +#if !defined(AFS_OSF_ENV) && !defined(AFS_DEC_ENV) && !defined(AFS_DARWIN_ENV) && !defined(AFS_FBSD_ENV) #define HAVE_SYS_VFS_H #endif @@ -45,7 +47,7 @@ #define HAVE_SYS_FS_TYPES_H #endif -#ifdef AFS_AIX41_ENV +#if !defined(AFS_AIX41_ENV) #define HAVE_SYS_MOUNT_H #endif -- 2.39.5