summaryrefslogtreecommitdiff
path: root/tools/inc/tools/prex.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/inc/tools/prex.h')
-rw-r--r--tools/inc/tools/prex.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/inc/tools/prex.h b/tools/inc/tools/prex.h
index 151b0fe46279..e1e11f256b5a 100644
--- a/tools/inc/tools/prex.h
+++ b/tools/inc/tools/prex.h
@@ -44,22 +44,12 @@
extern "C" {
#endif
-// FIXME: should really check for xfree86 or for X11R6.1 and higher
-#if defined(LINUX) || defined(FREEBSD) || defined(MACOSX) || defined(NETBSD) || \
- defined(OPENBSD) || defined(DRAGONFLY)
-#define __XKeyboardExtension__ 1
-#else
-#define __XKeyboardExtension__ 0
-#endif
-
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/StringDefs.h>
#include <X11/extensions/Xrender.h>
-#if __XKeyboardExtension__
#include <X11/XKBlib.h>
-#endif
typedef unsigned long Pixel;
#undef DestroyAll