diff options
author | Arnaud Fontaine <arnau@debian.org> | 2010-09-04 13:14:26 +0100 |
---|---|---|
committer | Arnaud Fontaine <arnau@debian.org> | 2011-03-06 18:40:34 +0900 |
commit | 039ba91e59f600c36239c68094105ff18c776ac2 (patch) | |
tree | 315797b2c568f9df30999de3ff9e0dc7bbfc0408 /ewmh | |
parent | 4f29f495653d85ff3c7b0b398252c98743c11433 (diff) |
Split up icccm and ewmh into their own repository
Diffstat (limited to 'ewmh')
-rw-r--r-- | ewmh/ewmh.c.m4 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ewmh/ewmh.c.m4 b/ewmh/ewmh.c.m4 index bc8168f..103f3ad 100644 --- a/ewmh/ewmh.c.m4 +++ b/ewmh/ewmh.c.m4 @@ -27,7 +27,6 @@ */ #include "xcb_ewmh.h" -#include "../xcb-util-common.h" #include <string.h> #include <limits.h> @@ -39,6 +38,13 @@ #include <xcb/xcb.h> #include <xcb/xproto.h> +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + +#define ssizeof(foo) (ssize_t)sizeof(foo) +#define countof(foo) (ssizeof(foo) / ssizeof(foo[0])) + /** * @brief The structure used on screen initialization including the * atoms name and its length |