[Xcb] [PATCH util 4/6] config: drop the check for sys/types.h

Gaetan Nadon memsize at videotron.ca
Sun Feb 9 22:31:29 CET 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>
---
 src/event.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/event.c b/src/event.c
index b868252..88058c4 100644
--- a/src/event.c
+++ b/src/event.c
@@ -36,9 +36,7 @@
 
 #include "xcb_event.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