aboutsummaryrefslogtreecommitdiff
path: root/libXau/AuFileName.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-04-08 08:32:54 +0200
committermarha <marha@users.sourceforge.net>2013-04-08 08:32:54 +0200
commit04c7a25640ae00136ba33177f375d7bfaa755a49 (patch)
tree8888def5309c3656cf7dabca4987a960387aed8f /libXau/AuFileName.c
parenta4505330e3469b6956348812ff2d6c24f812a8ba (diff)
downloadvcxsrv-04c7a25640ae00136ba33177f375d7bfaa755a49.tar.gz
vcxsrv-04c7a25640ae00136ba33177f375d7bfaa755a49.tar.bz2
vcxsrv-04c7a25640ae00136ba33177f375d7bfaa755a49.zip
Solved link errors in libXau
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 090427387..93335bc0f 100644
--- a/libXau/AuFileName.c
+++ b/libXau/AuFileName.c
@@ -30,6 +30,9 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xauth.h>
#include <X11/Xos.h>
#include <stdlib.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
static char *buf = NULL;