summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cifs.upcall.c2
-rw-r--r--configure.ac5
2 files changed, 4 insertions, 3 deletions
diff --git a/cifs.upcall.c b/cifs.upcall.c
index 595b68a..6d95477 100644
--- a/cifs.upcall.c
+++ b/cifs.upcall.c
@@ -31,7 +31,7 @@ create dns_resolver * * /usr/local/sbin/cifs.upcall %k
#include <string.h>
#include <getopt.h>
-#include <krb5.h>
+#include <krb5/krb5.h>
#include <syslog.h>
#include <dirent.h>
#include <sys/types.h>
diff --git a/configure.ac b/configure.ac
index a34b136..5a859a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,8 +15,9 @@ AC_GNU_SOURCE
# Checks for libraries.
# Checks for header files.
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h mntent.h netdb.h stddef.h stdint.h stdlib.h string.h strings.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h krb5.h], , [AC_MSG_ERROR([necessary header(s) not found])])
-AC_CHECK_HEADERS([talloc.h], , [AC_MSG_ERROR([necessary header not found, install libtalloc-devel])])
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h mntent.h netdb.h stddef.h stdint.h stdlib.h string.h strings.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h], , [AC_MSG_ERROR([necessary header(s) not found])])
+AC_CHECK_HEADERS([talloc.h], , [AC_MSG_ERROR([talloc.h not found, install libtalloc-devel])])
+AC_CHECK_HEADERS([krb5/krb5.h], , [AC_MSG_ERROR([krb5/krb5.h not found, install krb5-devel])])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL