aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/strndup.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-12-08 10:45:43 +0100
committermarha <marha@users.sourceforge.net>2011-12-08 10:45:43 +0100
commit2331d6e4ac699e775ccee07a8a461cae0a98033a (patch)
tree78c90ea8f75274160ecd49df8a551218715297d2 /xorg-server/os/strndup.c
parent110b0c9eb192808d1f7d39b71258be047b2bcc7d (diff)
downloadvcxsrv-2331d6e4ac699e775ccee07a8a461cae0a98033a.tar.gz
vcxsrv-2331d6e4ac699e775ccee07a8a461cae0a98033a.tar.bz2
vcxsrv-2331d6e4ac699e775ccee07a8a461cae0a98033a.zip
Include dix-config.h to remove warning
Diffstat (limited to 'xorg-server/os/strndup.c')
-rw-r--r--xorg-server/os/strndup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/os/strndup.c b/xorg-server/os/strndup.c
index bf8e982d4..d405c789f 100644
--- a/xorg-server/os/strndup.c
+++ b/xorg-server/os/strndup.c
@@ -27,6 +27,10 @@
* SUCH DAMAGE.
*/
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>