diff --git a/socket_header.h b/socket_header.h index 7e16e05f..ef1ebcfb 100644 --- a/socket_header.h +++ b/socket_header.h @@ -23,7 +23,9 @@ # define MSG_NOSIGNAL 0 #endif #ifdef SOCK_CLOEXEC +#ifndef VERSION #include "config.h" +#endif #ifdef HAVE_ACCEPT4 #define ACCEPT_CLOEXEC(sockfd, addr, addrlen) accept4(sockfd, addr, addrlen, SOCK_CLOEXEC) #else