s3: Fix checking for config.h #define in includes.h
authorAndreas Schneider <asn@samba.org>
Thu, 13 Dec 2018 17:52:11 +0000 (18:52 +0100)
committerGary Lockyer <gary@samba.org>
Sun, 16 Dec 2018 20:04:10 +0000 (21:04 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/include/includes.h

index acd0788..c26b75f 100644 (file)
 #ifdef HAVE_VALGRIND_MEMCHECK_H
         /* memcheck.h includes valgrind.h */
 #include <valgrind/memcheck.h>
-#elif HAVE_VALGRIND_H
+#elif defined(HAVE_VALGRIND_H)
 #include <valgrind.h>
 #endif