From 930c6ff15d437dfb0f897e8cb4253abba70819cc Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Fri, 2 Aug 2013 23:46:00 +0200 Subject: 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 Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- test/hashtabletest.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') 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 +#endif + #include #include #include -- cgit v1.2.3