From bc2f0c7dcbd22ab52971df4a419933e70f263a3f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 5 Jul 2006 23:10:37 +0000 Subject: Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode. --- ares/nameser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ares/nameser.h') diff --git a/ares/nameser.h b/ares/nameser.h index 7127c2640..1faeb6ff8 100644 --- a/ares/nameser.h +++ b/ares/nameser.h @@ -7,7 +7,9 @@ port build */ #ifndef NETWARE +#ifndef __CYGWIN__ #include +#endif #include /* for the _getpid() proto */ #endif /* !NETWARE */ #include -- cgit v1.2.3