Avoid implicitly declaring select() Upstream-Status: Inappropriate [this patch is Darwin-specific; MySQL 5.6 is EOL; MySQL 5.7.4 removed this check for select()] diff --git a/configure.cmake b/configure.cmake index dddeb25b6bab..c0fb70db735b 100644 --- a/configure.cmake +++ b/configure.cmake @@ -833,9 +833,7 @@ CHECK_C_SOURCE_COMPILES(" #include <winsock2.h> #include <ws2tcpip.h> #else -#include <sys/types.h> -#include <sys/socket.h> -#include <netdb.h> +#include <sys/select.h> #endif int main() {