summaryrefslogtreecommitdiff
path: root/tests/kms/kms-universal-planes.c
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2018-11-07 15:00:24 +0000
committerEric Engestrom <eric@engestrom.ch>2020-01-23 17:00:12 +0000
commit074947ee4be95f9b88558ab052e46cb0653a8a8f (patch)
treeafc56e1dc721b788b1c427457ddc8dd39e286b9a /tests/kms/kms-universal-planes.c
parent077e64292cd08bcd84d78b0d5e33bb0fc0cd4078 (diff)
downloadlibdrm-074947ee4be95f9b88558ab052e46cb0653a8a8f.tar.gz
libdrm-074947ee4be95f9b88558ab052e46cb0653a8a8f.tar.bz2
libdrm-074947ee4be95f9b88558ab052e46cb0653a8a8f.zip
meson: always define whether headers exist
Combined with -Wundef (added in 75758d2ccf & enforced in ba17673eed), this provides absolute safety against #ifdef typos. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'tests/kms/kms-universal-planes.c')
-rw-r--r--tests/kms/kms-universal-planes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms/kms-universal-planes.c b/tests/kms/kms-universal-planes.c
index 2163c987..1d793880 100644
--- a/tests/kms/kms-universal-planes.c
+++ b/tests/kms/kms-universal-planes.c
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#ifdef HAVE_SYS_SELECT_H
+#if HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif