diff --git a/src/fbio.cpp b/src/fbio.cpp
index e5afc44..2485227 100644
--- a/src/fbio.cpp
+++ b/src/fbio.cpp
@@ -18,6 +18,7 @@
  *
  */
 
+#include <sys/select.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include "config.h"