Commit 5216f0c92f183274ff8f80eff012c0e85549f077

Dan Nicholson 2009-04-02T06:37:16

Drop keysym.h pollution from XKBcommon.h There's really no need to pull this into a public header.

diff --git a/include/X11/extensions/XKBcommon.h b/include/X11/extensions/XKBcommon.h
index 2ed590d..f7700f5 100644
--- a/include/X11/extensions/XKBcommon.h
+++ b/include/X11/extensions/XKBcommon.h
@@ -32,7 +32,6 @@ authorization from the authors.
 #include <X11/X.h>
 #include <X11/Xdefs.h>
 #include <X11/Xfuncproto.h>
-#include <X11/keysym.h>
 #include <X11/extensions/XKBstrcommon.h>
 #include <X11/extensions/XKBgeomcommon.h>
 #include <X11/extensions/XKBrulescommon.h>
@@ -376,7 +375,7 @@ extern void
 XkbcEnsureSafeMapName(char *name);
 
 extern unsigned
-_XkbcKSCheckCase(KeySym  sym);
+_XkbcKSCheckCase(KeySym sym);
 
 _XFUNCPROTOEND
 
diff --git a/src/misc.c b/src/misc.c
index 0417a84..98bdfc2 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -30,6 +30,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 #include "X11/extensions/XKBcommon.h"
 #include "XKBcommonint.h"
+#include <X11/keysym.h>
 
 #define mapSize(m) (sizeof(m) / sizeof(XkbKTMapEntryRec))
 static XkbKTMapEntryRec map2Level[]= {