aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/ErrDes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/ErrDes.c')
-rw-r--r--libX11/src/ErrDes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libX11/src/ErrDes.c b/libX11/src/ErrDes.c
index ef5edad6c..f5f610fac 100644
--- a/libX11/src/ErrDes.c
+++ b/libX11/src/ErrDes.c
@@ -55,6 +55,7 @@ SOFTWARE.
#include <X11/Xos.h>
#include "Xresource.h"
#include <stdio.h>
+#include <unistd.h>
#ifndef ERRORDB
#ifndef XERRORDB