diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/krb5/sysincl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/krb5/sysincl.h b/src/include/krb5/sysincl.h index 622964aac..4ca584646 100644 --- a/src/include/krb5/sysincl.h +++ b/src/include/krb5/sysincl.h @@ -21,7 +21,13 @@ #include <sys/types.h> /* needed for much of the reset */ #endif /* KRB5_SYSTYPES__ */ +#include <krb5/osconf.h> /* USE*TIME_H macros */ +#ifdef USE_TIME_H +#include <time.h> +#endif +#ifdef USE_SYS_TIME_H #include <sys/time.h> /* struct timeval, utimes() */ +#endif #include <sys/stat.h> /* struct stat, stat() */ #include <sys/param.h> /* MAXPATHLEN */ #if defined(unix) || defined(__unix__) |