summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2013-08-02 23:46:00 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2013-08-06 13:02:36 +1000
commit930c6ff15d437dfb0f897e8cb4253abba70819cc (patch)
tree18354c1e9e99b9cd523e571fd99ad87353ec430b
parentb6e5c4669e0db391966deb397e8c975ec7f0124d (diff)
test: include dix-config.h in hashtabletest.c
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>
-rw-r--r--test/hashtabletest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/hashtabletest.c b/test/hashtabletest.c
index 64c7091fc..6af14a8e6 100644
--- a/test/hashtabletest.c
+++ b/test/hashtabletest.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
#include <misc.h>
#include <stdlib.h>
#include <stdio.h>