diff --git a/configure.ac b/configure.ac index 9cf79d16..ad0a46b4 100644 --- a/configure.ac +++ b/configure.ac @@ -50,7 +50,6 @@ PKG_CHECK_MODULES(GEN4ASM, [intel-gen4asm >= 1.0], [gen4asm=yes], [gen4asm=no]) AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes) AC_HEADER_STDC -AC_CHECK_HEADERS(sys/mman.h) AH_TOP([#include "xorg-server.h"]) diff --git a/src/intel_driver.c b/src/intel_driver.c index 4dbe2873..a69f7c1b 100644 --- a/src/intel_driver.c +++ b/src/intel_driver.c @@ -68,9 +68,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "shadow.h" #include "intel.h" #include "intel_video.h" -#if HAVE_SYS_MMAN_H && HAVE_MPROTECT -#include -#endif #ifdef INTEL_XVMC #define _INTEL_XVMC_SERVER_ diff --git a/src/intel_uxa.c b/src/intel_uxa.c index 1496dbcc..b75fe55a 100644 --- a/src/intel_uxa.c +++ b/src/intel_uxa.c @@ -38,7 +38,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "i915_drm.h" #include "brw_defines.h" #include -#include #include static const int I830CopyROP[16] = {