diff options
| author | John Kohl <jtkohl@mit.edu> | 1990-10-29 15:28:22 +0000 |
|---|---|---|
| committer | John Kohl <jtkohl@mit.edu> | 1990-10-29 15:28:22 +0000 |
| commit | a4e579603e27304081721c7792043829e5ecbfd4 (patch) | |
| tree | 02a16e9f9b8920aeba32e7d633cdcdbc96be0f70 /src/include | |
| parent | 55fa6e4d76702cbcca7befa752202645f50c807d (diff) | |
| download | krb5-a4e579603e27304081721c7792043829e5ecbfd4.tar.gz krb5-a4e579603e27304081721c7792043829e5ecbfd4.tar.xz krb5-a4e579603e27304081721c7792043829e5ecbfd4.zip | |
put an interlock on sys/types.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1364 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/krb5.h | 3 | ||||
| -rw-r--r-- | src/include/krb5/sysincl.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/include/krb5/krb5.h b/src/include/krb5/krb5.h index 7cc5c35a7..e51d742c3 100644 --- a/src/include/krb5/krb5.h +++ b/src/include/krb5/krb5.h @@ -16,7 +16,10 @@ #ifndef KRB5_GENERAL__ #define KRB5_GENERAL__ +#ifndef KRB5_SYSTYPES__ +#define KRB5_SYSTYPES__ #include <sys/types.h> +#endif /* KRB5_SYSTYPES__ */ #include <krb5/config.h> diff --git a/src/include/krb5/sysincl.h b/src/include/krb5/sysincl.h index cff7e0a2c..b53bd3672 100644 --- a/src/include/krb5/sysincl.h +++ b/src/include/krb5/sysincl.h @@ -16,7 +16,11 @@ #ifndef KRB5_SYSINCL__ #define KRB5_SYSINCL__ +#ifndef KRB5_SYSTYPES__ +#define KRB5_SYSTYPES__ #include <sys/types.h> /* needed for much of the reset */ +#endif /* KRB5_SYSTYPES__ */ + #include <sys/time.h> /* struct timeval, utimes() */ #include <sys/stat.h> /* struct stat, stat() */ #include <sys/param.h> /* MAXPATHLEN */ |
