summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaura <lmemsm@gmail.com>2013-03-15 11:21:26 +0000
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-13 00:31:52 -0700
commit1cd5c50c54b06de2238d6d7675d0a3c65a21414d (patch)
tree54cc16108b453f17829c6c5a163b1171efedc542
parented582f4fccd4e23abcfba8b3b03649fea6414f44 (diff)
downloadxorg-app-xkbcomp-1cd5c50c54b06de2238d6d7675d0a3c65a21414d.tar.gz
Add #include <stdlib.h> to xkbscan.c
This fixes an issue with _exit not declared when building xkbcomp version 1.2.4 natively on Windows using MinGW32 (version 4.7.2) from www.mingw.org. https://bugs.freedesktop.org/show_bug.cgi?id=62365 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xkbscan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xkbscan.c b/xkbscan.c
index a05d569..7b91b45 100644
--- a/xkbscan.c
+++ b/xkbscan.c
@@ -24,6 +24,7 @@
********************************************************/
+#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <X11/Xos.h>