aboutsummaryrefslogtreecommitdiff
path: root/libX11
diff options
context:
space:
mode:
Diffstat (limited to 'libX11')
-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 55505f4f6..c43967f88 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 <stdlib.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"