summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-01-06 23:31:53 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2017-01-06 23:32:34 +0000
commit827fbc7051d38e950b5bbe5403899cebb8464d90 (patch)
tree0b6d6730cb6c308022b85e23878cbf136944e29a
parent10e8a746d486ae6974a4f955ad362cd17035be63 (diff)
Include <sys/select.h> for fd_set and related macros to fix compilation
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 0e63088..7980e37 100644
--- a/src/main.c
+++ b/src/main.c
@@ -26,6 +26,7 @@
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
+#include <sys/select.h>
#include "config.h"
#include "debug.h"