From 594b4a4f0601066d09e49a84c5af8c2eb6f07240 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 24 May 2012 13:34:11 +1000 Subject: [PATCH] Xext: include dix-config.h silences In file included from ../include/misc.h:111:0, from hashtable.c:2: ./include/os.h:559:1: warning: redundant redeclaration of 'strndup' [-Wredundant-decls] Signed-off-by: Peter Hutterer Reviewed-by: Alan Coopersmith --- Xext/hashtable.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Xext/hashtable.c b/Xext/hashtable.c index 2adf92e56..9d9ef8949 100644 --- a/Xext/hashtable.c +++ b/Xext/hashtable.c @@ -1,3 +1,7 @@ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "misc.h" #include "hashtable.h"