summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2014-02-09 10:49:23 -0500
committerArnaud Fontaine <arnau@debian.org>2014-02-17 17:48:56 +0900
commitb2af8b1f198b9254c51588970df1f26d05d0d0d3 (patch)
tree39ad7d0d98aaffd4fb5442705b2bfd960d7ded72
parent37b11560dffc042833f2d20f87d577edfd861613 (diff)
downloadxcb-util-b2af8b1f198b9254c51588970df1f26d05d0d0d3.tar.gz
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. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
-rw-r--r--src/event.c4
1 files changed, 1 insertions, 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]))