summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Fontaine <arfontaine@ITEM-58736.dhcp.oxfd.uk.sopra>2010-02-11 14:11:43 +0000
committerArnaud Fontaine <arfontaine@ITEM-58736.dhcp.oxfd.uk.sopra>2010-02-11 14:47:30 +0000
commit8d4fc1a75c5482b59610ad813915023d1b443144 (patch)
tree164a692530f3bc73c77375fb5bbeae7a37c4bb13
parentcd7ee76e23e8ee76669195c4d188bcfe4f0cbad1 (diff)
Add missing inclusion of stdlib.h in EWMH header
-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" {