summaryrefslogtreecommitdiff
path: root/hw/darwin/iokit/xfIOKit.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/darwin/iokit/xfIOKit.c')
-rw-r--r--hw/darwin/iokit/xfIOKit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/darwin/iokit/xfIOKit.c b/hw/darwin/iokit/xfIOKit.c
index 95a7fb32c..c7ebd1c18 100644
--- a/hw/darwin/iokit/xfIOKit.c
+++ b/hw/darwin/iokit/xfIOKit.c
@@ -34,6 +34,10 @@
* use or other dealings in this Software without prior written authorization.
*/
+#if HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
#include <X11/X.h>
#include <X11/Xproto.h>
#include "os.h"
@@ -51,6 +55,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <pthread.h>
+#include <assert.h>
#include <mach/mach_interface.h>