]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/external-libkmsxx.git/commitdiff
utils: select() et al. need <sys/select.h>
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 10 Aug 2016 16:34:28 +0000 (18:34 +0200)
committerYann 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>
utils/testpat.cpp

index ef56a80e5dbeee06a7e3b7c3924fe5de268cdf26..72081051457f2f97d7253dab416acda99289fa3c 100644 (file)
@@ -5,6 +5,8 @@
 #include <set>
 #include <chrono>
 
+#include <sys/select.h>
+
 #include <kms++/kms++.h>
 #include <kms++/modedb.h>