From b6cf1f330341afd5551b203123752ac1d2d98ed7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 28 May 2000 20:59:15 +0000 Subject: 11616: netinet/in_systm.h again --- Src/Modules/zftp.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index 33632fcda..b1aac07b8 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -61,7 +61,16 @@ typedef struct zftp_session *Zftp_session; #include #include #include -#ifdef HAVE_NETINET_IN_SYSTM_H +/* + * For some reason, configure doesn't always detect netinet/in_systm.h. + * On some systems, including linux, this seems to be because gcc is + * throwing up a warning message about the redefinition of + * __USE_LARGEFILE. This means the problem is somewhere in the + * header files where we can't get at it. For now, revert to + * not including this file only on systems where we know it's missing. + * Currently this is just cygwin. + */ +#ifndef __CYGWIN__ # include #endif #include -- cgit 1.4.1