diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 41acb25aa..c3d87fbe2 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -46,6 +46,7 @@ #include #endif +#include #include #include diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index 2786e6c6c..85bd3bb33 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -38,7 +38,9 @@ #include #endif +#include #include + #include "mi.h" #include "os.h" #include "servermd.h" diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 3308329a1..2f25272a5 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -36,6 +36,7 @@ #include #include +#include #undef HAS_UTSNAME #if !defined(WIN32) diff --git a/hw/xfree86/os-support/shared/sigio.c b/hw/xfree86/os-support/shared/sigio.c index be78b9eaa..67de2e925 100644 --- a/hw/xfree86/os-support/shared/sigio.c +++ b/hw/xfree86/os-support/shared/sigio.c @@ -57,6 +57,7 @@ #endif #include +#include #include #include "os/osdep.h" diff --git a/hw/xfree86/os-support/solaris/sun_init.c b/hw/xfree86/os-support/solaris/sun_init.c index aac212707..99fd9fdf7 100644 --- a/hw/xfree86/os-support/solaris/sun_init.c +++ b/hw/xfree86/os-support/solaris/sun_init.c @@ -27,6 +27,7 @@ #endif #include +#include #include "../../../../os/cmdline.h" diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index 8d321dc01..3f8dae067 100644 --- a/hw/xfree86/os-support/xf86_OSlib.h +++ b/hw/xfree86/os-support/xf86_OSlib.h @@ -88,7 +88,6 @@ #include #include #include -#include #include #include @@ -155,8 +154,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #include -#include - #include #ifdef __linux__ #define HAS_USL_VTS @@ -185,7 +182,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #include #include -#include #endif /* CSRG_BASED */ diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c index 167973845..56530ec30 100644 --- a/hw/xquartz/darwin.c +++ b/hw/xquartz/darwin.c @@ -32,6 +32,7 @@ #include #endif +#include #include #include