diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-04-28 15:05:47 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-04-28 15:05:47 +0000 |
commit | 905d036c33ccbc727d7a26501cd04ddebbc91822 (patch) | |
tree | 731754be977604c35ddcbe3cab5bfccbabc747e8 /Src | |
parent | 7d36150a8d34d0c849c8186df07ccad8d3a211fb (diff) | |
download | zsh-905d036c33ccbc727d7a26501cd04ddebbc91822.tar.gz zsh-905d036c33ccbc727d7a26501cd04ddebbc91822.tar.xz zsh-905d036c33ccbc727d7a26501cd04ddebbc91822.zip |
17820, tweaked: attempt to fix compilation of tcp.h on recent versions
of cygwin
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/tcp.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <netinet/in_systm.h> #endif #include <netinet/in.h> |