diff --git a/src/net/sock.c b/src/net/sock.c index c701066b..30cc5c43 100644 --- a/src/net/sock.c +++ b/src/net/sock.c @@ -32,7 +32,7 @@ #include #include #include -#ifdef HAVE_SYS_SOCKET_H +#ifdef HAVE_SYS_SELECT_H #include #endif diff --git a/src/timing/timing.c b/src/timing/timing.c index 49567fea..f6c31cbf 100644 --- a/src/timing/timing.c +++ b/src/timing/timing.c @@ -20,8 +20,8 @@ #include #endif -#ifdef HAVE_SYS_SOCKET_H -#include +#ifdef HAVE_SYS_SELECT_H +#include #endif #include "timing.h"