summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-02-14 11:05:48 -0800
committerKeith Packard <keithp@keithp.com>2013-02-14 11:05:48 -0800
commit90642948cc78834d95f7a3bddaac7ff77b68ed7e (patch)
tree8164a9b40959f1a8663277eea1ca30cede016815 /os
parent9a35d4240e2aa91ac104f0f9f86f83ff9a2d3d04 (diff)
parenteda7dbff5a9f35fefe1e3dedacb82daadbf5945e (diff)
Merge remote-tracking branch 'jeremyhu/master'
Diffstat (limited to 'os')
-rw-r--r--os/strndup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/strndup.c b/os/strndup.c
index b604b9bac..e0eddf13d 100644
--- a/os/strndup.c
+++ b/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>