summaryrefslogtreecommitdiffstats
path: root/src/include/krb5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/krb5.h')
-rw-r--r--src/include/krb5.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/include/krb5.h b/src/include/krb5.h
index 4452f9556..865140201 100644
--- a/src/include/krb5.h
+++ b/src/include/krb5.h
@@ -27,13 +27,21 @@
#ifndef KRB5_GENERAL__
#define KRB5_GENERAL__
+#include "k5-config.h"
+
#ifndef KRB5_SYSTYPES__
#define KRB5_SYSTYPES__
+
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#else /* HAVE_SYS_TYPES_H */
+typedef unsigned long u_long;
+typedef unsigned int u_int;
+typedef unsigned short u_short;
+typedef unsigned char u_char;
+#endif /* HAVE_SYS_TYPES_H */
#endif /* KRB5_SYSTYPES__ */
-#include "k5-config.h"
-
#include "base-defs.h"
#include "hostaddr.h"