From: Tim Wiederhake Subject: [PATCH 3/8] Cleanup includes Date: Mon, 16 Jul 2012 16:02:47 +0200 Message-ID: <1342447372-21742-3-git-send-email-twied@gmx.net> References: <1342447372-21742-1-git-send-email-twied@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by gabe.freedesktop.org (Postfix) with SMTP id 281369F72F for ; Mon, 16 Jul 2012 07:29:31 -0700 (PDT) In-Reply-To: <1342447372-21742-1-git-send-email-twied@gmx.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --- intel/intel_bufmgr_gem.c | 4 ++-- tests/kmstest/main.c | 3 ++- tests/modetest/modetest.c | 2 +- tests/ttmtest/src/ttmtest.c | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 57319fb..28f8887 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include @@ -53,13 +54,12 @@ #include #include -#include "errno.h" #include "libdrm_lists.h" #include "intel_bufmgr.h" #include "intel_bufmgr_priv.h" #include "intel_chipset.h" #include "intel_aub.h" -#include "string.h" + #include "i915_drm.h" diff --git a/tests/kmstest/main.c b/tests/kmstest/main.c index 5df0a38..616162d 100644 --- a/tests/kmstest/main.c +++ b/tests/kmstest/main.c @@ -26,10 +26,11 @@ **************************************************************************/ +#include #include #include #include "xf86drm.h" -#include "libkms.h" + #define CHECK_RET_RETURN(ret, str) \ if (ret < 0) { \ diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index ec3121e..dff40d1 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -40,6 +40,7 @@ #include "config.h" #include +#include #include #include #include @@ -53,7 +54,6 @@ #include "xf86drm.h" #include "xf86drmMode.h" #include "drm_fourcc.h" -#include "libkms.h" #ifdef HAVE_CAIRO #include diff --git a/tests/ttmtest/src/ttmtest.c b/tests/ttmtest/src/ttmtest.c index c94e940..59e9623 100644 --- a/tests/ttmtest/src/ttmtest.c +++ b/tests/ttmtest/src/ttmtest.c @@ -39,13 +39,13 @@ #include #include "xf86dri.h" #include "xf86drm.h" -#include "stdio.h" -#include "sys/types.h" +#include +#include #include #include #include #include -#include "sys/mman.h" +#include typedef struct { -- 1.7.10.4