aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorYann E. MORIN2016-08-10 11:34:28 -0500
committerYann E. MORIN2016-08-10 11:34:28 -0500
commit35373b7829fdc49407f4c256c603a137b957a1ad (patch)
treea2f73163ba7d5a859d902e2d7f3946d9ac2dc3be /utils
parent868bc96e72f3d21f30368a50e36c6a04ad810478 (diff)
downloadexternal-libkmsxx-35373b7829fdc49407f4c256c603a137b957a1ad.tar.gz
external-libkmsxx-35373b7829fdc49407f4c256c603a137b957a1ad.tar.xz
external-libkmsxx-35373b7829fdc49407f4c256c603a137b957a1ad.zip
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>
Diffstat (limited to 'utils')
-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 @@
5#include <set> 5#include <set>
6#include <chrono> 6#include <chrono>
7 7
8#include <sys/select.h>
9
8#include <kms++/kms++.h> 10#include <kms++/kms++.h>
9#include <kms++/modedb.h> 11#include <kms++/modedb.h>
10 12