1 From eab45f0959ccb1deb662c6f8c036651088e2e8d6 Mon Sep 17 00:00:00 2001
2 From: Stijn Tintel <stijn@linux-ipv6.be>
3 Date: Fri, 17 Feb 2017 05:42:25 +0100
4 Subject: [PATCH] unix: fix compilation against musl libc (#1127)
6 POSIX.1-2001 requires sys/select.h for select() and friends.
7 Compile-tested on glibc and musl, runtime tested on musl.
9 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
11 cpp/src/platform/unix/SerialControllerImpl.cpp | 1 +
12 1 file changed, 1 insertion(+)
14 diff --git a/cpp/src/platform/unix/SerialControllerImpl.cpp b/cpp/src/platform/unix/SerialControllerImpl.cpp
15 index d95f848..b52b74f 100644
16 --- a/cpp/src/platform/unix/SerialControllerImpl.cpp
17 +++ b/cpp/src/platform/unix/SerialControllerImpl.cpp
19 // along with OpenZWave. If not, see <http://www.gnu.org/licenses/>.
21 //-----------------------------------------------------------------------------
22 +#include <sys/select.h>