summaryrefslogtreecommitdiff
path: root/nameser.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-05 23:10:38 +0000
committerYang Tse <yangsita@gmail.com>2006-07-05 23:10:38 +0000
commit413a37e4097584848743b6504fe994fe9101813b (patch)
treee880ce4758fe553d43a31818260637cecc37cf81 /nameser.h
parent3e2f91b95f5f34cf5861ec34e3361428eb3aa39e (diff)
downloadc-ares-413a37e4097584848743b6504fe994fe9101813b.tar.gz
c-ares-413a37e4097584848743b6504fe994fe9101813b.tar.bz2
c-ares-413a37e4097584848743b6504fe994fe9101813b.zip
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
Diffstat (limited to 'nameser.h')
-rw-r--r--nameser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nameser.h b/nameser.h
index 7127c26..1faeb6f 100644
--- a/nameser.h
+++ b/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>