From f4694b61f2c93ec655da0a4422f133b3d7e60a51 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 20 Nov 2018 14:12:23 +0100 Subject: [PATCH] s3:include: Use #ifdef instead of #if for config.h definitions Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer --- source3/include/includes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/include/includes.h b/source3/include/includes.h index 032776003a3..acd0788ff4d 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -76,7 +76,7 @@ #undef HAVE_LDAP #endif -#if HAVE_SYS_ATTRIBUTES_H +#ifdef HAVE_SYS_ATTRIBUTES_H #include #endif @@ -92,17 +92,17 @@ #include #endif -#if HAVE_LANGINFO_H +#ifdef HAVE_LANGINFO_H #include #endif -#if HAVE_NETGROUP_H +#ifdef HAVE_NETGROUP_H #include #endif /* Special macros that are no-ops except when run under Valgrind on * x86. They've moved a little bit from valgrind 1.0.4 to 1.9.4 */ -#if HAVE_VALGRIND_MEMCHECK_H +#ifdef HAVE_VALGRIND_MEMCHECK_H /* memcheck.h includes valgrind.h */ #include #elif HAVE_VALGRIND_H -- 2.47.2