From 53ff4863189911fd8c5284c660ed08ce977a09b8 Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Mon, 18 Jan 2016 16:00:40 -0500 Subject: [PATCH] Fix building on musl-libc - Include sys/select.h in kms-steal-crtc.c, since it is where FD_ZERO, FD_SET, select, etc. are defined. - Include poll.h instead of sys/poll.h, which is the correct header to include and is defined in POSIX, as opposed to sys/poll.h. --- tests/kms/kms-steal-crtc.c | 1 + tests/modetest/modetest.c | 2 +- tests/vbltest/vbltest.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/kms/kms-steal-crtc.c b/tests/kms/kms-steal-crtc.c index 2f7f327..351f88e 100644 --- a/tests/kms/kms-steal-crtc.c +++ b/tests/kms/kms-steal-crtc.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 22e3e81..375b64a 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -53,7 +53,7 @@ #include #include #include -#include +#include #include #include "xf86drm.h" diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c index 1833321..a4c8247 100644 --- a/tests/vbltest/vbltest.c +++ b/tests/vbltest/vbltest.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include "xf86drm.h" -- 2.7.0