about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common.c1
-rw-r--r--src/tools/tinyurl.c1
-rw-r--r--src/ui/inputwin.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c
index 390659af..33a2dffd 100644
--- a/src/common.c
+++ b/src/common.c
@@ -33,6 +33,7 @@
  */
 #include "config.h"
 
+#include <sys/select.h>
 #include <assert.h>
 #include <errno.h>
 #include <stdlib.h>
diff --git a/src/tools/tinyurl.c b/src/tools/tinyurl.c
index b12e0dd6..a147a257 100644
--- a/src/tools/tinyurl.c
+++ b/src/tools/tinyurl.c
@@ -34,6 +34,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <sys/select.h>
 
 #include <curl/curl.h>
 #include <curl/easy.h>
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index d5643f76..eef58b32 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -35,6 +35,7 @@
 #define _XOPEN_SOURCE_EXTENDED
 #include "config.h"
 
+#include <sys/select.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>