diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-05-01 09:54:07 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-05-01 09:54:07 +0200 |
commit | 8d25cd5d34dc16e3651dd9711b3c5470e11906d0 (patch) | |
tree | ebb7da3e7b58671074bfaa4776af8a88defe4f14 /src/core | |
parent | 90bd568a619b0a78cb6c206d883f35b8631c122f (diff) | |
download | weechat-8d25cd5d34dc16e3651dd9711b3c5470e11906d0.zip |
core: fix compilation on Cygwin
The header sys/select.h is now required for select() function.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-hook.c | 1 | ||||
-rw-r--r-- | src/core/wee-network.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index d9239a9e6..7a47b951f 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -32,6 +32,7 @@ #include <time.h> #include <sys/types.h> #include <sys/wait.h> +#include <sys/select.h> #include <signal.h> #include <fcntl.h> #include <errno.h> diff --git a/src/core/wee-network.c b/src/core/wee-network.c index b4f501bd1..fd981190c 100644 --- a/src/core/wee-network.c +++ b/src/core/wee-network.c @@ -39,6 +39,7 @@ #include <string.h> #include <sys/types.h> #include <sys/socket.h> +#include <sys/select.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> |