summaryrefslogtreecommitdiff
path: root/hw/darwin/quartz/xpr/x-hook.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremy@yuffie.local>2007-11-29 02:19:22 -0800
committerJeremy Huddleston <jeremy@yuffie.local>2007-11-29 02:21:16 -0800
commit8a079be0dd0f2ce37868988cde4ac8895522b088 (patch)
tree631876c2e41b4a1bd15405abcf66ac823fb7a410 /hw/darwin/quartz/xpr/x-hook.c
parent38397560612424b5b348f34c1a0bea8c47a574be (diff)
Darwin: #ifdefs around dix-config.h include and NDEBUG/assert.h workaround.
(cherry picked from commit d2b768890f0878ae4e3fec8f7219e82b79256133)
Diffstat (limited to 'hw/darwin/quartz/xpr/x-hook.c')
-rw-r--r--hw/darwin/quartz/xpr/x-hook.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/darwin/quartz/xpr/x-hook.c b/hw/darwin/quartz/xpr/x-hook.c
index e38d0edc5..bb873bbfb 100644
--- a/hw/darwin/quartz/xpr/x-hook.c
+++ b/hw/darwin/quartz/xpr/x-hook.c
@@ -27,7 +27,9 @@
promote the sale, use or other dealings in this Software without
prior written authorization. */
+#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
+#endif
#include "x-hook.h"
#include <stdlib.h>