summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 868bc96)
raw | patch | inline | side by side (parent: 868bc96)
author | Yann E. MORIN <yann.morin.1998@free.fr> | |
Wed, 10 Aug 2016 16:34:28 +0000 (18:34 +0200) | ||
committer | Yann E. MORIN <yann.morin.1998@free.fr> | |
Wed, 10 Aug 2016 16:34:28 +0000 (18:34 +0200) |
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>
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>
utils/testpat.cpp | patch | blob | history |
diff --git a/utils/testpat.cpp b/utils/testpat.cpp
index ef56a80e5dbeee06a7e3b7c3924fe5de268cdf26..72081051457f2f97d7253dab416acda99289fa3c 100644 (file)
--- a/utils/testpat.cpp
+++ b/utils/testpat.cpp
#include <set>
#include <chrono>
+#include <sys/select.h>
+
#include <kms++/kms++.h>
#include <kms++/modedb.h>