summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-05-24 13:34:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-05-24 15:52:38 +1000
commit594b4a4f0601066d09e49a84c5af8c2eb6f07240 (patch)
tree6bde6a66dc336e88a0ab4749e7e90b79e564fedc /Xext
parentd348ab06aae21c153ecbc3511aeafc8ab66d8303 (diff)
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 <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xext')
-rw-r--r--Xext/hashtable.c4
1 files changed, 4 insertions, 0 deletions
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 <dix-config.h>
+#endif
+
#include <stdlib.h>
#include "misc.h"
#include "hashtable.h"