diff options
author | Eric Engestrom <eric.engestrom@intel.com> | 2018-11-07 15:00:24 +0000 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2020-01-23 17:00:12 +0000 |
commit | 074947ee4be95f9b88558ab052e46cb0653a8a8f (patch) | |
tree | afc56e1dc721b788b1c427457ddc8dd39e286b9a /tests/kms/kms-universal-planes.c | |
parent | 077e64292cd08bcd84d78b0d5e33bb0fc0cd4078 (diff) | |
download | libdrm-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.c | 2 |
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 |