s3: Fix checking for config.h #define in includes.h
[amitay/samba.git] / source3 / include / includes.h
index acd0788ff4d407d0956d0344045d6f259b1edb21..c26b75f579184b8836ce56337ebff2cdef44833e 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