From: Andreas Schneider Date: Thu, 13 Dec 2018 17:49:32 +0000 (+0100) Subject: nsswitch: Fix checking for config.h #define in nsstest.h X-Git-Tag: tdb-1.3.17~290 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=648e70ba7bf891421299bb7e2b8a20f2e9769b97;p=thirdparty%2Fsamba.git nsswitch: Fix checking for config.h #define in nsstest.h Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer --- diff --git a/nsswitch/nsstest.h b/nsswitch/nsstest.h index 53adce55005..8112b57f8aa 100644 --- a/nsswitch/nsstest.h +++ b/nsswitch/nsstest.h @@ -44,7 +44,7 @@ typedef nss_status_t NSS_STATUS; #define NSS_STATUS_UNAVAIL NSS_UNAVAIL #define NSS_STATUS_TRYAGAIN NSS_TRYAGAIN -#elif HAVE_NSS_H +#elif defined(HAVE_NSS_H) /* * Linux (glibc) @@ -53,7 +53,7 @@ typedef nss_status_t NSS_STATUS; #include typedef enum nss_status NSS_STATUS; -#elif HAVE_NS_API_H +#elif defined(HAVE_NS_API_H) /* * SGI IRIX