summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2013-02-09 20:40:10 -0800
committerMatt Dew <marcoz@osource.org>2013-02-15 23:31:47 -0700
commit1c7c7d407edfb68ee5679b059a0cd72a59ac5d67 (patch)
tree41e5c145dcff17323892bf2aaad5f176bece8feb /os
parente2f4be5ba55268d8e92c2d7161cb5ff822b29126 (diff)
os: Ensure <dix-config.h> is included in strndup.c
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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>