From: Björn Jacke Date: Sun, 22 Feb 2009 18:46:40 +0000 (+0100) Subject: prefer gssapi header files from subdirectory X-Git-Tag: samba-3.0.36~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d73ee18c15a1c1369b5a8c0ae88f6ec704d21404;p=thirdparty%2Fsamba.git prefer gssapi header files from subdirectory this fixes some compile time noise on FreeBSD 7 (cherry picked from commit 1bfdbb093f7c5e434ea3e653d389e1ccec578af6) (cherry picked from commit de96e1a82d6e92c00a0ab3020db8d7c0284aadb1) (cherry picked from commit b4fc28ddffa4f9a74ca72ee6c2d30f544de5360c) --- diff --git a/source/include/includes.h b/source/include/includes.h index 09174687cba..8aa34ff8fce 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -208,12 +208,12 @@ typedef int ber_int_t; #undef HAVE_LDAP #endif -#if HAVE_GSSAPI_H -#include -#elif HAVE_GSSAPI_GSSAPI_H +#if HAVE_GSSAPI_GSSAPI_H #include #elif HAVE_GSSAPI_GSSAPI_GENERIC_H #include +#elif HAVE_GSSAPI_H +#include #endif #if HAVE_COM_ERR_H diff --git a/source/libaddns/dns.h b/source/libaddns/dns.h index 4862a23b3d4..c75ef78e949 100644 --- a/source/libaddns/dns.h +++ b/source/libaddns/dns.h @@ -74,12 +74,12 @@ #include #endif -#if HAVE_GSSAPI_H -#include -#elif HAVE_GSSAPI_GSSAPI_H +#if HAVE_GSSAPI_GSSAPI_H #include #elif HAVE_GSSAPI_GSSAPI_GENERIC_H #include +#elif HAVE_GSSAPI_H +#include #endif #if defined(HAVE_GSSAPI_H) || defined(HAVE_GSSAPI_GSSAPI_H) || defined(HAVE_GSSAPI_GSSAPI_GENERIC_H)