diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-05 23:10:38 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-05 23:10:38 +0000 |
commit | 413a37e4097584848743b6504fe994fe9101813b (patch) | |
tree | e880ce4758fe553d43a31818260637cecc37cf81 /nameser.h | |
parent | 3e2f91b95f5f34cf5861ec34e3361428eb3aa39e (diff) | |
download | c-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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> |