diff --git a/Xext/shm.c b/Xext/shm.c index b3ab676ea..a17915a67 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -35,9 +35,7 @@ in this Software without prior written authorization from The Open Group. #include #include #include -#ifdef HAVE_MEMFD_CREATE #include -#endif #include #include #include diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c index 8d4e3c596..76bc4809f 100644 --- a/hw/xfree86/fbdevhw/fbdevhw.c +++ b/hw/xfree86/fbdevhw/fbdevhw.c @@ -4,6 +4,7 @@ #endif #include +#include #include "xf86.h" #include "xf86Modes.h" diff --git a/hw/xfree86/os-support/bsd/alpha_video.c b/hw/xfree86/os-support/bsd/alpha_video.c index 721c09af8..670193c0d 100644 --- a/hw/xfree86/os-support/bsd/alpha_video.c +++ b/hw/xfree86/os-support/bsd/alpha_video.c @@ -28,12 +28,13 @@ #endif #include +#include +#include #include #include "xf86.h" #include "xf86Priv.h" -#include #ifndef __NetBSD__ #include #endif diff --git a/hw/xfree86/os-support/bsd/arm_video.c b/hw/xfree86/os-support/bsd/arm_video.c index 587b9d3ac..647ebf46c 100644 --- a/hw/xfree86/os-support/bsd/arm_video.c +++ b/hw/xfree86/os-support/bsd/arm_video.c @@ -61,6 +61,7 @@ #endif #include +#include #include #include "xf86.h" diff --git a/hw/xfree86/os-support/bsd/i386_video.c b/hw/xfree86/os-support/bsd/i386_video.c index 55b5819b7..625514e70 100644 --- a/hw/xfree86/os-support/bsd/i386_video.c +++ b/hw/xfree86/os-support/bsd/i386_video.c @@ -27,13 +27,12 @@ #include #endif -#include -#include "xf86.h" -#include "xf86Priv.h" - #include #include +#include +#include "xf86.h" +#include "xf86Priv.h" #include "xf86_OSlib.h" #include "xf86OSpriv.h" diff --git a/hw/xfree86/os-support/bsd/ppc_video.c b/hw/xfree86/os-support/bsd/ppc_video.c index 9d430ba86..bd929b208 100644 --- a/hw/xfree86/os-support/bsd/ppc_video.c +++ b/hw/xfree86/os-support/bsd/ppc_video.c @@ -27,7 +27,9 @@ #include #endif +#include #include + #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c index fd83022f6..8ff0f0bc5 100644 --- a/hw/xfree86/os-support/linux/lnx_video.c +++ b/hw/xfree86/os-support/linux/lnx_video.c @@ -29,8 +29,9 @@ #include #include - +#include #include + #include "input.h" #include "scrnintstr.h" diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index 3f8dae067..90d560eef 100644 --- a/hw/xfree86/os-support/xf86_OSlib.h +++ b/hw/xfree86/os-support/xf86_OSlib.h @@ -128,7 +128,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #endif /* !VT_ACKACQ */ #if defined(SVR4) -#include #if !(defined(__sun) && defined (SVR4)) #define DEV_MEM "/dev/pmem" #endif @@ -154,7 +153,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #include -#include #ifdef __linux__ #define HAS_USL_VTS #include @@ -181,7 +179,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX]; #include #include -#include #endif /* CSRG_BASED */