aboutsummaryrefslogtreecommitdiff
path: root/libXau/AuUnlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXau/AuUnlock.c')
-rw-r--r--libXau/AuUnlock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libXau/AuUnlock.c b/libXau/AuUnlock.c
index b81724600..7a0c3a881 100644
--- a/libXau/AuUnlock.c
+++ b/libXau/AuUnlock.c
@@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group.
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#include <X11/Xauth.h>
#include <X11/Xos.h>