aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-11-29 12:37:33 +0100
committerWladimir J. van der Laan <[email protected]>2016-11-29 12:37:39 +0100
commit0a0441358c81a28495914b880526bdae9262fc5a (patch)
tree42ebd83bf4fd3cfad95b4aa62d4f4539861eb2ec
parentMerge #9233: Fix some typos (diff)
parentInclude select.h when WIN32 is not defined (diff)
downloaddiscoin-0a0441358c81a28495914b880526bdae9262fc5a.tar.xz
discoin-0a0441358c81a28495914b880526bdae9262fc5a.zip
Merge #9224: Prevent FD_SETSIZE error building on OpenBSD
498a1d7 Include select.h when WIN32 is not defined (Ivo van der Sangen)
-rw-r--r--src/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index 79a297e5e..2578d6d34 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -34,6 +34,7 @@
#else
#include <sys/fcntl.h>
#include <sys/mman.h>
+#include <sys/select.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <net/if.h>