aboutsummaryrefslogtreecommitdiff
path: root/ares/nameser.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-05 23:10:37 +0000
committerYang Tse <yangsita@gmail.com>2006-07-05 23:10:37 +0000
commitbc2f0c7dcbd22ab52971df4a419933e70f263a3f (patch)
treef0691aecd2dab76f769aa04ad94c18a8fa4ed6aa /ares/nameser.h
parentc6ae0ebcbf3c7b47ab444195613c6e14843fa248 (diff)
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
Diffstat (limited to 'ares/nameser.h')
-rw-r--r--ares/nameser.h2
1 files changed, 2 insertions, 0 deletions
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 <windows.h>
+#endif
#include <process.h> /* for the _getpid() proto */
#endif /* !NETWARE */
#include <sys/types.h>