summaryrefslogtreecommitdiff
path: root/src/test/test-sigbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-sigbus.c')
-rw-r--r--src/test/test-sigbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-sigbus.c b/src/test/test-sigbus.c
index 7a4a8a6636..bcc08b226c 100644
--- a/src/test/test-sigbus.c
+++ b/src/test/test-sigbus.c
@@ -22,7 +22,7 @@
#include "fd-util.h"
#include "sigbus.h"
#include "util.h"
-#ifdef HAVE_VALGRIND_VALGRIND_H
+#if HAVE_VALGRIND_VALGRIND_H
#include <valgrind/valgrind.h>
#endif
@@ -32,7 +32,7 @@ int main(int argc, char *argv[]) {
void *addr = NULL;
uint8_t *p;
-#ifdef HAVE_VALGRIND_VALGRIND_H
+#if HAVE_VALGRIND_VALGRIND_H
if (RUNNING_ON_VALGRIND)
return EXIT_TEST_SKIP;
#endif