diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-06-25 13:40:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-06-25 13:40:22 +0100 |
commit | 28c0ca676c47e7e38fabdd9ef24a70bd26701f33 (patch) | |
tree | 2d26019838e2fb7aafd02508b865f4d466dbce3d | |
parent | 2306e675c48bc00a8ca1f4545bb88c97d6ef4fa6 (diff) |
Remove unused inclusion of <sys/mman.h>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/intel_driver.c | 3 | ||||
-rw-r--r-- | src/intel_uxa.c | 1 |
3 files changed, 0 insertions, 5 deletions
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 <sys/mman.h> -#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 <string.h> -#include <sys/mman.h> #include <errno.h> static const int I830CopyROP[16] = { |