* ytypes.h: Include autoconf.h. Include sys/types.h only if it exists
authorKen Raeburn <raeburn@mit.edu>
Sun, 1 May 2005 08:46:29 +0000 (08:46 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 1 May 2005 08:46:29 +0000 (08:46 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17210 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/yarrow/ChangeLog
src/lib/crypto/yarrow/ytypes.h

index 6e9d02804cf1dc0588ab570feee251938087c7e0..30eae99edb78901b34c3342cfb8a5d401cd313bc 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-01  Ken Raeburn  <raeburn@mit.edu>
+
+       * ytypes.h: Include autoconf.h.  Include sys/types.h only if it
+       exists.
+
 2005-04-28  Ken Raeburn  <raeburn@mit.edu>
 
        * yarrow.c: Delete old macintosh support.
index d79bb7ed96f5b9e8c6fbfe1146c518e87b44a71b..b7a30c76d02958994ecbf60b65cb3b0335b3efbd 100644 (file)
@@ -5,7 +5,10 @@
 
 #include <limits.h>
 #include <stddef.h>
+#include "krb5/autoconf.h"
+#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
 
 #define byte unsigned char