Index: src/Plugins/Qt/QTMSockets.cpp
--- src/Plugins/Qt/QTMSockets.cpp.orig
+++ src/Plugins/Qt/QTMSockets.cpp
@@ -20,6 +20,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/select.h>
 #include <netinet/in.h>
 #include <netdb.h>
 #include <stdint.h>
