summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-08-10 18:34:28 +0200
committerYann E. MORIN <yann.morin.1998@free.fr>2016-08-10 18:34:28 +0200
commit35373b7829fdc49407f4c256c603a137b957a1ad (patch)
treea2f73163ba7d5a859d902e2d7f3946d9ac2dc3be
parent868bc96e72f3d21f30368a50e36c6a04ad810478 (diff)
utils: select() et al. need <sys/select.h>
Although indirectly included by way of other headers with glibc and uClibc, using any of the select()-class familly of functions or macros requires including <sys/select.h>. This fixes the build under musl, which is way more conservative in the ehaders that are included one-from-the-others (k.e. as few as possible). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rw-r--r--utils/testpat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/testpat.cpp b/utils/testpat.cpp
index ef56a80..7208105 100644
--- a/utils/testpat.cpp
+++ b/utils/testpat.cpp
@@ -5,6 +5,8 @@
#include <set>
#include <chrono>
+#include <sys/select.h>
+
#include <kms++/kms++.h>
#include <kms++/modedb.h>