summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal_build/krb5-types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/heimdal_build/krb5-types.h b/source4/heimdal_build/krb5-types.h
index fc366545fc..532e9103df 100644
--- a/source4/heimdal_build/krb5-types.h
+++ b/source4/heimdal_build/krb5-types.h
@@ -13,7 +13,9 @@
#if HAVE_SYS_BITYPES_H
#include <sys/bitypes.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
+#endif
typedef socklen_t krb5_socklen_t;