put an interlock on sys/types.h
authorJohn Kohl <jtkohl@mit.edu>
Mon, 29 Oct 1990 15:28:22 +0000 (15:28 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 29 Oct 1990 15:28:22 +0000 (15:28 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1364 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/krb5.h
src/include/krb5/sysincl.h

index 7cc5c35a707274325ee2ae1e5f8f569778acf734..e51d742c3b51e774042bd5fb7fd721f6c4e05764 100644 (file)
 #ifndef KRB5_GENERAL__
 #define KRB5_GENERAL__
 
+#ifndef KRB5_SYSTYPES__
+#define KRB5_SYSTYPES__
 #include <sys/types.h>
+#endif /* KRB5_SYSTYPES__ */
 
 #include <krb5/config.h>
 
index cff7e0a2c914faf36f61f1a09597463248ba882d..b53bd36723d972676d5ea4bff4ca23f12eb7d4aa 100644 (file)
 #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 */