summaryrefslogtreecommitdiff
path: root/ewmh
diff options
context:
space:
mode:
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" {