summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2013-02-09 20:40:10 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2013-02-14 09:20:46 -0800
commit5da82f872daf25939a8fa04f1561b01f0315a623 (patch)
tree9c01d0c2abd07ec5bf076eddbfab8dadf7979acc /os
parent67eaf4b46f678bc904f47dfcab6655e170d843e0 (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>