summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ext-proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/krb5/ext-proto.h b/src/include/krb5/ext-proto.h
index 349700638..1d923ba5e 100644
--- a/src/include/krb5/ext-proto.h
+++ b/src/include/krb5/ext-proto.h
@@ -53,4 +53,8 @@ extern char *getenv();
extern char *strdup PROTOTYPE((const char *));
+#ifdef HAS_UNISTD_H
+#include <unistd.h>
+#endif
+
#endif /* KRB5_EXT_PROTO__ */