[PATCH 2/2] os: Ensure <dix-config.h> is included in strndup.c

Jeremy Huddleston Sequoia jeremyhu at apple.com
Sat Feb 9 20:41:31 PST 2013


Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
---
 os/strndup.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/os/strndup.c b/os/strndup.c
index b604b9b..e0eddf1 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>
-- 
1.8.1.2



More information about the xorg-devel mailing list