diff --git a/src/platform.h b/src/platform.h index ddfb9575..c7ac17c2 100644 --- a/src/platform.h +++ b/src/platform.h @@ -62,10 +62,10 @@ typedef u_short sa_family_t; const char *_getdns_strerror(DWORD errnum); #else /* USE_WINSOCK */ -#ifdef HAVE_SYS_POLL_H -# include -#else +#ifndef HAVE_SYS_POLL_H # include +#else +# include #endif #define _getdns_EINTR (EINTR)