summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/krb5-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal_build/krb5-types.h')
-rw-r--r--source4/heimdal_build/krb5-types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/heimdal_build/krb5-types.h b/source4/heimdal_build/krb5-types.h
index 68a8bc0da4..fc366545fc 100644
--- a/source4/heimdal_build/krb5-types.h
+++ b/source4/heimdal_build/krb5-types.h
@@ -4,9 +4,15 @@
#ifndef __krb5_types_h__
#define __krb5_types_h__
+#if HAVE_INTTYPES_H
#include <inttypes.h>
+#endif
+#if HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+#if HAVE_SYS_BITYPES_H
#include <sys/bitypes.h>
+#endif
#include <sys/socket.h>