summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2010-10-09 11:00:13 +0200
committerThomas Klausner <wiz@NetBSD.org>2010-10-09 11:00:13 +0200
commit8a4730b702c25565879ebda5845544b90ba52c7e (patch)
treef36f5504b028b9d946e15c433f8f3e2fcf6dc0f0 /tools
parenta1ca202893abb037629f143a28b405b878cca689 (diff)
Handle NetBSD same as FreeBSD, Linux, and Mac OS X wrt __XKeyboardExtension__.
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/prex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/inc/tools/prex.h b/tools/inc/tools/prex.h
index 61088960bbfd..17447b88a12f 100644
--- a/tools/inc/tools/prex.h
+++ b/tools/inc/tools/prex.h
@@ -47,7 +47,7 @@
extern "C" {
#endif
-#if defined(LINUX) || defined(FREEBSD) || defined(MACOSX) // should really check for xfree86 or for X11R6.1 and higher
+#if defined(LINUX) || defined(FREEBSD) || defined(MACOSX) || defined(NETBSD) // should really check for xfree86 or for X11R6.1 and higher
#define __XKeyboardExtension__ 1
#else
#define __XKeyboardExtension__ 0