summaryrefslogtreecommitdiff
path: root/ewmh
diff options
context:
space:
mode:
authorArnaud Fontaine <arnau@debian.org>2010-02-11 14:11:43 +0000
committerArnaud Fontaine <arnau@debian.org>2011-03-06 18:40:12 +0900
commitf9e85f6b3f306f28e3ee6f590e503d75fc73f4ff (patch)
treec12af7663b0958d0298175013473b0b1d53052a5 /ewmh
parent34f8bc49bb437a74a0e5f1e32efcf4c26b90bfed (diff)
Add missing inclusion of stdlib.h in EWMH header
Diffstat (limited to 'ewmh')
-rw-r--r--ewmh/ewmh.c.m46
-rw-r--r--ewmh/xcb_ewmh.h.m41
2 files changed, 4 insertions, 3 deletions
diff --git a/ewmh/ewmh.c.m4 b/ewmh/ewmh.c.m4
index ad3a201..bc8168f 100644
--- a/ewmh/ewmh.c.m4
+++ b/ewmh/ewmh.c.m4
@@ -26,6 +26,9 @@
* prior written authorization from the authors.
*/
+#include "xcb_ewmh.h"
+#include "../xcb-util-common.h"
+
#include <string.h>
#include <limits.h>
#include <stdlib.h>
@@ -36,9 +39,6 @@
#include <xcb/xcb.h>
#include <xcb/xproto.h>
-#include "xcb_ewmh.h"
-#include "../xcb-util-common.h"
-
/**
* @brief The structure used on screen initialization including the
* atoms name and its length
diff --git a/ewmh/xcb_ewmh.h.m4 b/ewmh/xcb_ewmh.h.m4
index 1d6024f..34a6a7b 100644
--- a/ewmh/xcb_ewmh.h.m4
+++ b/ewmh/xcb_ewmh.h.m4
@@ -47,6 +47,7 @@
*/
#include <xcb/xcb.h>
+#include <stdlib.h>
#ifdef __cplusplus
extern "C" {