[Xcb] [PATCH util-wm 4/7] config: drop the check for sys/types.h
Gaetan Nadon
memsize at videotron.ca
Sat Feb 1 10:21:00 PST 2014
All the X supported systems do have this header file.
None of the xorg modules have this check, so it is safe to remove.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
ewmh/ewmh.c.m4 | 4 +---
1 file changed, 1 insertion(+), 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]))
--
1.7.9.5
More information about the Xcb
mailing list