--- plugins/TelescopeControl/src/servers/Socket.hpp.orig	2015-10-26 08:15:29.139926316 +0100
+++ plugins/TelescopeControl/src/servers/Socket.hpp	2015-10-26 08:15:49.297069845 +0100
@@ -54,6 +54,7 @@ static inline int SetNonblocking(int s)
 
 #include <netdb.h>
 #include <netinet/in.h>
+#include <sys/select.h>
 #include <sys/socket.h>
 #include <unistd.h>
 #include <fcntl.h>
