diff options
author | Björn Jacke <bj@sernet.de> | 2009-02-22 19:46:40 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-23 13:41:16 +0100 |
commit | 00913a73c7c93f410e5e05a1825138a61705ea6e (patch) | |
tree | 2b36402db34e6636c0a3dcdfa9a2c65c0e21831b | |
parent | dc0bf17ac130764f3bbdc2d07de4a0fb54a761d2 (diff) | |
download | samba-00913a73c7c93f410e5e05a1825138a61705ea6e.tar.gz samba-00913a73c7c93f410e5e05a1825138a61705ea6e.tar.bz2 samba-00913a73c7c93f410e5e05a1825138a61705ea6e.zip |
prefer gssapi header files from subdirectory
this fixes some compile time noise on FreeBSD 7
-rw-r--r-- | source3/include/includes.h | 6 | ||||
-rw-r--r-- | source3/libaddns/dns.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 1906830d48..5ab5564e47 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -190,12 +190,12 @@ typedef int ber_int_t; #undef HAVE_LDAP #endif -#if HAVE_GSSAPI_H -#include <gssapi.h> -#elif HAVE_GSSAPI_GSSAPI_H +#if HAVE_GSSAPI_GSSAPI_H #include <gssapi/gssapi.h> #elif HAVE_GSSAPI_GSSAPI_GENERIC_H #include <gssapi/gssapi_generic.h> +#elif HAVE_GSSAPI_H +#include <gssapi.h> #endif #if HAVE_COM_ERR_H diff --git a/source3/libaddns/dns.h b/source3/libaddns/dns.h index 42662a224b..57a9b6a002 100644 --- a/source3/libaddns/dns.h +++ b/source3/libaddns/dns.h @@ -81,12 +81,12 @@ #include <krb5.h> #endif -#if HAVE_GSSAPI_H -#include <gssapi.h> -#elif HAVE_GSSAPI_GSSAPI_H +#if HAVE_GSSAPI_GSSAPI_H #include <gssapi/gssapi.h> #elif HAVE_GSSAPI_GSSAPI_GENERIC_H #include <gssapi/gssapi_generic.h> +#elif HAVE_GSSAPI_H +#include <gssapi.h> #endif #if defined(HAVE_GSSAPI_H) || defined(HAVE_GSSAPI_GSSAPI_H) || defined(HAVE_GSSAPI_GSSAPI_GENERIC_H) |