summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/kdrive/ephyr/ephyr.c3
-rw-r--r--hw/kdrive/ephyr/ephyrinit.c1
-rw-r--r--hw/kdrive/src/kdrive.c2
-rw-r--r--hw/vfb/InitOutput.c1
-rw-r--r--hw/xfree86/common/xf86Configure.c2
-rw-r--r--hw/xfree86/common/xf86Init.c2
-rw-r--r--hw/xfree86/ddc/ddc.c2
-rw-r--r--hw/xfree86/int10/helper_exec.c4
-rw-r--r--hw/xfree86/os-support/bsd/bsd_init.c2
-rw-r--r--hw/xfree86/os-support/linux/lnx_init.c1
-rw-r--r--hw/xfree86/os-support/shared/VTsw_usl.c2
-rw-r--r--hw/xfree86/os-support/solaris/sun_init.c2
-rw-r--r--hw/xnest/Display.c3
-rw-r--r--hw/xnest/Init.c1
-rw-r--r--hw/xquartz/darwin.c3
-rw-r--r--hw/xwayland/xwayland-screen.c3
-rw-r--r--hw/xwayland/xwayland.c1
-rw-r--r--hw/xwin/InitOutput.c1
-rw-r--r--hw/xwin/winerror.c2
19 files changed, 35 insertions, 3 deletions
diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c
index c28f67a62..3d0dd872b 100644
--- a/hw/kdrive/ephyr/ephyr.c
+++ b/hw/kdrive/ephyr/ephyr.c
@@ -30,8 +30,9 @@
#include <xcb/xcb_keysyms.h>
#include <X11/keysym.h>
-#include "ephyr.h"
+#include "os/osdep.h"
+#include "ephyr.h"
#include "inputstr.h"
#include "scrnintstr.h"
#include "ephyrlog.h"
diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c
index 6cae1ea7e..eb31b55a2 100644
--- a/hw/kdrive/ephyr/ephyrinit.c
+++ b/hw/kdrive/ephyr/ephyrinit.c
@@ -28,6 +28,7 @@
#endif
#include "os/cmdline.h"
+#include "os/osdep.h"
#include "ephyr.h"
#include "ephyrlog.h"
diff --git a/hw/kdrive/src/kdrive.c b/hw/kdrive/src/kdrive.c
index 247a6f4a2..2145f64cb 100644
--- a/hw/kdrive/src/kdrive.c
+++ b/hw/kdrive/src/kdrive.c
@@ -27,6 +27,8 @@
#include "dix/screenint_priv.h"
#include "os/cmdline.h"
+#include "os/osdep.h"
+
#include "kdrive.h"
#include <mivalidate.h>
#include <dixstruct.h>
diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c
index 2d3f131af..e4b75a796 100644
--- a/hw/vfb/InitOutput.c
+++ b/hw/vfb/InitOutput.c
@@ -40,6 +40,7 @@ from The Open Group.
#include "dix/screenint_priv.h"
#include "os/cmdline.h"
+#include "os/osdep.h"
#include "scrnintstr.h"
#include "servermd.h"
diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c
index 52594c692..a29c5460e 100644
--- a/hw/xfree86/common/xf86Configure.c
+++ b/hw/xfree86/common/xf86Configure.c
@@ -29,6 +29,8 @@
#include <errno.h>
+#include "os/osdep.h"
+
#include "xf86.h"
#include "xf86Config.h"
#include "xf86_OSlib.h"
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index b96f46cfa..3308329a1 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -50,6 +50,7 @@
#include "dix/screenint_priv.h"
#include "os/cmdline.h"
+#include "os/osdep.h"
#include "input.h"
#include "servermd.h"
@@ -58,7 +59,6 @@
#include "mi.h"
#include "dbus-core.h"
#include "systemd-logind.h"
-
#include "loaderProcs.h"
#define XF86_OS_PRIVS
diff --git a/hw/xfree86/ddc/ddc.c b/hw/xfree86/ddc/ddc.c
index b82dfc185..621ef5336 100644
--- a/hw/xfree86/ddc/ddc.c
+++ b/hw/xfree86/ddc/ddc.c
@@ -14,6 +14,8 @@
#include <xorg-config.h>
#endif
+#include "os/osdep.h"
+
#include "misc.h"
#include "xf86.h"
#include "xf86_OSproc.h"
diff --git a/hw/xfree86/int10/helper_exec.c b/hw/xfree86/int10/helper_exec.c
index 12000bf96..c7c8478e6 100644
--- a/hw/xfree86/int10/helper_exec.c
+++ b/hw/xfree86/int10/helper_exec.c
@@ -21,8 +21,10 @@
#define PRINT_PORT 0
#include <unistd.h>
-
#include <X11/Xos.h>
+
+#include "os/osdep.h"
+
#include "xf86.h"
#include "xf86_OSproc.h"
#include "compiler.h"
diff --git a/hw/xfree86/os-support/bsd/bsd_init.c b/hw/xfree86/os-support/bsd/bsd_init.c
index e87f11d4d..91ffccdb0 100644
--- a/hw/xfree86/os-support/bsd/bsd_init.c
+++ b/hw/xfree86/os-support/bsd/bsd_init.c
@@ -42,6 +42,8 @@
#include <stdlib.h>
#include <errno.h>
+#include "os/osdep.h"
+
static Bool KeepTty = FALSE;
#ifdef PCCONS_SUPPORT
diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c
index 62e2b6862..f623ca0b9 100644
--- a/hw/xfree86/os-support/linux/lnx_init.c
+++ b/hw/xfree86/os-support/linux/lnx_init.c
@@ -32,6 +32,7 @@
#include <X11/Xmd.h>
#include "os/cmdline.h"
+#include "os/osdep.h"
#include "compiler.h"
#include "linux.h"
diff --git a/hw/xfree86/os-support/shared/VTsw_usl.c b/hw/xfree86/os-support/shared/VTsw_usl.c
index 64402616e..e9b3c3ae0 100644
--- a/hw/xfree86/os-support/shared/VTsw_usl.c
+++ b/hw/xfree86/os-support/shared/VTsw_usl.c
@@ -27,6 +27,8 @@
#include <X11/X.h>
+#include "os/osdep.h"
+
#include "xf86.h"
#include "xf86Priv.h"
#include "xf86_OSlib.h"
diff --git a/hw/xfree86/os-support/solaris/sun_init.c b/hw/xfree86/os-support/solaris/sun_init.c
index c5ce9e068..aac212707 100644
--- a/hw/xfree86/os-support/solaris/sun_init.c
+++ b/hw/xfree86/os-support/solaris/sun_init.c
@@ -37,6 +37,8 @@
#include <sys/kd.h>
#endif
+#include "os/osdep.h"
+
/*
* Applications see VT number as consecutive integers starting from 1.
* VT number VT device
diff --git a/hw/xnest/Display.c b/hw/xnest/Display.c
index a014aa40d..0735de772 100644
--- a/hw/xnest/Display.c
+++ b/hw/xnest/Display.c
@@ -21,6 +21,9 @@ is" without express or implied warranty.
#include <X11/X.h>
#include <X11/Xproto.h>
+
+#include "os/osdep.h"
+
#include "screenint.h"
#include "input.h"
#include "misc.h"
diff --git a/hw/xnest/Init.c b/hw/xnest/Init.c
index 8bf779621..58255c22b 100644
--- a/hw/xnest/Init.c
+++ b/hw/xnest/Init.c
@@ -22,6 +22,7 @@ is" without express or implied warranty.
#include <X11/fonts/fontstruct.h>
#include "dix/screenint_priv.h"
+#include "os/osdep.h"
#include "screenint.h"
#include "input.h"
diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c
index e34994673..167973845 100644
--- a/hw/xquartz/darwin.c
+++ b/hw/xquartz/darwin.c
@@ -34,6 +34,9 @@
#include <X11/X.h>
#include <X11/Xproto.h>
+
+#include "os/osdep.h"
+
#include "os.h"
#include "servermd.h"
#include "inputstr.h"
diff --git a/hw/xwayland/xwayland-screen.c b/hw/xwayland/xwayland-screen.c
index 284189912..a8db081eb 100644
--- a/hw/xwayland/xwayland-screen.c
+++ b/hw/xwayland/xwayland-screen.c
@@ -35,6 +35,9 @@
#endif
#include <X11/Xatom.h>
+
+#include "os/osdep.h"
+
#include <micmap.h>
#include <misyncshm.h>
#include <os.h>
diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c
index 5cc88b245..499c2cc1f 100644
--- a/hw/xwayland/xwayland.c
+++ b/hw/xwayland/xwayland.c
@@ -37,6 +37,7 @@
#include "dix/dix_priv.h"
#include "dix/screenint_priv.h"
#include "os/cmdline.h"
+#include "os/osdep.h"
#include <selection.h>
#include <micmap.h>
diff --git a/hw/xwin/InitOutput.c b/hw/xwin/InitOutput.c
index ca4b6bf0a..bc4293d0f 100644
--- a/hw/xwin/InitOutput.c
+++ b/hw/xwin/InitOutput.c
@@ -60,6 +60,7 @@ typedef WINAPI HRESULT(*SHGETFOLDERPATHPROC) (HWND hwndOwner,
#endif
#include "dix/screenint_priv.h"
+#include "os/osdep.h"
#include "winmonitors.h"
#include "nonsdk_extinit.h"
diff --git a/hw/xwin/winerror.c b/hw/xwin/winerror.c
index c8ad9c969..ed505e47d 100644
--- a/hw/xwin/winerror.c
+++ b/hw/xwin/winerror.c
@@ -32,6 +32,8 @@
#include <xwin-config.h>
#endif
+#include "os/osdep.h"
+
#include <../xfree86/common/xorgVersion.h>
#include "win.h"