diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-05 23:10:37 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-05 23:10:37 +0000 |
commit | bc2f0c7dcbd22ab52971df4a419933e70f263a3f (patch) | |
tree | f0691aecd2dab76f769aa04ad94c18a8fa4ed6aa /ares/nameser.h | |
parent | c6ae0ebcbf3c7b47ab444195613c6e14843fa248 (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.h | 2 |
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> |