aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xkb/XKBGAlloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xkb/XKBGAlloc.c')
-rw-r--r--libX11/src/xkb/XKBGAlloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libX11/src/xkb/XKBGAlloc.c b/libX11/src/xkb/XKBGAlloc.c
index 7679496e3..3f4f49670 100644
--- a/libX11/src/xkb/XKBGAlloc.c
+++ b/libX11/src/xkb/XKBGAlloc.c
@@ -30,9 +30,11 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
+#include <stdio.h>
+#include <unistd.h>
+
#ifndef XKB_IN_SERVER
-#include <stdio.h>
#include "Xlibint.h"
#include "XKBlibint.h"
#include <X11/extensions/XKBgeom.h>
@@ -40,7 +42,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#else
-#include <stdio.h>
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"