diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index f9c29fd41d..94bf23cef5 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -299,9 +299,9 @@ typedef unsigned short mode_t; #include <rpcsvc/ypclnt.h> #include <termios.h> #include <sys/stropts.h> -#ifndef USE_LIBDES +#if !defined(USE_LIBDES) && !defined(KRB4_AUTH) #include <crypt.h> -#endif /* USE_LIBDES */ +#endif /* !USE_LIBDES && !KRB4_AUTH */ extern int gettimeofday (struct timeval *, void *); extern int gethostname (char *name, int namelen); extern int innetgr (const char *, const char *, const char *, const char *); @@ -1140,6 +1140,10 @@ union semun { #include <krb5.h> #endif +#ifdef KRB4_AUTH +#include <krb.h> +#endif + #ifdef NO_UTIMBUF struct utimbuf { time_t actime; |