missing include on OpenBSD, fd_set not defined

This commit is contained in:
espie 2017-05-08 16:17:22 +00:00
parent bbc9e819c1
commit abe94b4f81

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-plugins_TelescopeControl_src_servers_Socket_hpp,v 1.1 2017/05/08 16:17:22 espie Exp $
Index: plugins/TelescopeControl/src/servers/Socket.hpp
--- plugins/TelescopeControl/src/servers/Socket.hpp.orig
+++ plugins/TelescopeControl/src/servers/Socket.hpp
@@ -55,6 +55,7 @@ static inline int SetNonblocking(int s)
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
+#include <sys/select.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>