diff options
author | Torsten Kurbad <torsten@tk-webart.de> | 2010-04-01 21:47:25 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2010-04-01 21:47:25 -0400 |
commit | d946beecf6e9cc7cf6897368bed8f43b0ec61ed1 (patch) | |
tree | 52fd7986b9fb2744b427c73f390ade6c22da899b | |
parent | f5b79b44f25cdf4ba4363c7c05892af2865ce890 (diff) | |
download | cifs-utils-d946beecf6e9cc7cf6897368bed8f43b0ec61ed1.tar.gz cifs-utils-d946beecf6e9cc7cf6897368bed8f43b0ec61ed1.tar.bz2 cifs-utils-d946beecf6e9cc7cf6897368bed8f43b0ec61ed1.zip |
cifs-upcall: krb5.h inclusion quick fix
...eventually it might be better to make autoconf set -I/usr/include/krb5
or whatever and get rid of the #ifdef's here. It's a little tricky to
figure out the include dir however, so this will do for now.
Signed-off-by: Torsten Kurbad <torsten@tk-webart.de>
-rw-r--r-- | cifs.upcall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cifs.upcall.c b/cifs.upcall.c index 95ff521..2e5a873 100644 --- a/cifs.upcall.c +++ b/cifs.upcall.c @@ -31,7 +31,11 @@ create dns_resolver * * /usr/local/sbin/cifs.upcall %k #include <string.h> #include <getopt.h> +#ifdef HAVE_KRB5_KRB5_H #include <krb5/krb5.h> +#elif defined(HAVE_KRB5_H) +#include <krb5.h> +#endif #include <syslog.h> #include <dirent.h> #include <sys/types.h> |