From 905d036c33ccbc727d7a26501cd04ddebbc91822 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 28 Apr 2003 15:05:47 +0000 Subject: 17820, tweaked: attempt to fix compilation of tcp.h on recent versions of cygwin --- ChangeLog | 6 ++++++ Src/Modules/tcp.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 588473bc0..9363f405f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-04-28 Peter Stephenson + + * 17820 (tweaked): Andrej: Src/Modules/tcp.h: unconfirmed but + apparently safe attempt to get recent Cygwin versions to include + where available. + 2003-04-25 Oliver Kiddle * Haakon Riiser: 18473: Completion/X/Command/_acroread, diff --git a/Src/Modules/tcp.h b/Src/Modules/tcp.h index 36ceb0886..231267e22 100644 --- a/Src/Modules/tcp.h +++ b/Src/Modules/tcp.h @@ -46,9 +46,9 @@ * __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. + * Currently this is just some older versions of cygwin. */ -#ifndef __CYGWIN__ +#if defined(HAVE_NETINET_IN_SYSTM_H) || !defined(__CYGWIN__) # include #endif #include -- cgit 1.4.1