test: Remove extraneous includes These programs don't actually use the internal API.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
diff --git a/test/namescomp.c b/test/namescomp.c
index 864a22a..1c64419 100644
--- a/test/namescomp.c
+++ b/test/namescomp.c
@@ -26,9 +26,11 @@ authorization from the authors.
#include <stdlib.h>
#include <stdio.h>
-#include "xkbmisc.h"
-#include "X11/extensions/XKBcommon.h"
+#include <X11/X.h>
+#include <X11/Xdefs.h>
#include <X11/extensions/XKBstrcommon.h>
+#include <X11/extensions/XKBrulescommon.h>
+#include "X11/extensions/XKBcommon.h"
#include "xkbcomp/utils.h"
int main(int argc, char *argv[])
diff --git a/test/rulescomp.c b/test/rulescomp.c
index 4dbe353..8046b49 100644
--- a/test/rulescomp.c
+++ b/test/rulescomp.c
@@ -26,10 +26,11 @@ authorization from the authors.
#include <stdlib.h>
#include <stdio.h>
-#include "xkbmisc.h"
-#include "xkbrules.h"
-#include "X11/extensions/XKBcommon.h"
+#include <X11/X.h>
+#include <X11/Xdefs.h>
#include <X11/extensions/XKBstrcommon.h>
+#include <X11/extensions/XKBrulescommon.h>
+#include "X11/extensions/XKBcommon.h"
#include "xkbcomp/utils.h"
int main(int argc, char *argv[])