test: include dix-config.h in hashtabletest.c
authorJulien Cristau <jcristau@debian.org>
Fri, 2 Aug 2013 21:46:00 +0000 (23:46 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 6 Aug 2013 03:02:36 +0000 (13:02 +1000)
Missing _XSERVER64 define caused inconsistent sizeof(XID) between the
test and hashtable code, leading to test failures on 64bit big endian
archs like s390x or ppc64.

Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/hashtabletest.c

index 64c7091..6af14a8 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
 #include <misc.h>
 #include <stdlib.h>
 #include <stdio.h>