summaryrefslogtreecommitdiff
path: root/ewmh
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2014-01-31 22:36:29 -0500
committerGaetan Nadon <memsize@videotron.ca>2014-02-03 17:26:45 -0500
commit5d7f2805d83944ed8da6fcc5b8506531262b9da9 (patch)
treec751af9ec4dc7b673c7b93c7e5b3ac8251dcf0c5 /ewmh
parent9c45c1919b68330bab44b4c1a0984f644bd66110 (diff)
config: drop the check for sys/types.h
All the X supported systems do have this header file. None of the xorg modules have this check, so it is safe to remove. Reviewed-by: Arnaud Fontaine <arnau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'ewmh')
-rw-r--r--ewmh/ewmh.c.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/ewmh/ewmh.c.m4 b/ewmh/ewmh.c.m4
index 769b36b..b986105 100644
--- a/ewmh/ewmh.c.m4
+++ b/ewmh/ewmh.c.m4
@@ -43,9 +43,7 @@
#include <xcb/xcb.h>
#include <xcb/xproto.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+#include <sys/types.h>
#define ssizeof(foo) (ssize_t)sizeof(foo)
#define countof(foo) (ssizeof(foo) / ssizeof(foo[0]))