aboutsummaryrefslogtreecommitdiffstats
path: root/tests/amdgpu/deadlock_tests.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/amdgpu/deadlock_tests.c
parent077e64292cd08bcd84d78b0d5e33bb0fc0cd4078 (diff)
downloadexternal_libdrm-074947ee4be95f9b88558ab052e46cb0653a8a8f.tar.gz
external_libdrm-074947ee4be95f9b88558ab052e46cb0653a8a8f.tar.bz2
external_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/amdgpu/deadlock_tests.c')
-rw-r--r--tests/amdgpu/deadlock_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/amdgpu/deadlock_tests.c b/tests/amdgpu/deadlock_tests.c
index d6eb35b1..a18d578f 100644
--- a/tests/amdgpu/deadlock_tests.c
+++ b/tests/amdgpu/deadlock_tests.c
@@ -24,7 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-#ifdef HAVE_ALLOCA_H
+#if HAVE_ALLOCA_H
# include <alloca.h>
#endif