aboutsummaryrefslogtreecommitdiff
path: root/libXau/AuFileName.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXau/AuFileName.c')
-rw-r--r--libXau/AuFileName.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libXau/AuFileName.c b/libXau/AuFileName.c
index 37c8b6283..69b0ec4ee 100644
--- a/libXau/AuFileName.c
+++ b/libXau/AuFileName.c
@@ -31,6 +31,9 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xos.h>
#include <assert.h>
#include <stdlib.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
static char *buf = NULL;