projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79dd23c
)
Check config variables to include <time.h> vs. <sys/time.h>
author
John Carr
<jfc@mit.edu>
Wed, 31 Oct 1990 20:37:15 +0000
(20:37 +0000)
committer
John Carr
<jfc@mit.edu>
Wed, 31 Oct 1990 20:37:15 +0000
(20:37 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1386
dc483132
-0cff-0310-8789-
dd5450dbe970
src/include/krb5/sysincl.h
patch
|
blob
|
history
diff --git
a/src/include/krb5/sysincl.h
b/src/include/krb5/sysincl.h
index 622964aac4b4a22acf4b4885e821e864ec896d81..4ca58464699bfc9e1b8fd5d98f8b5bffef5fd566 100644
(file)
--- 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__)