sna: Trim the set of includes

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-05-29 11:32:28 +01:00
parent 9d1a9e6667
commit b4b6fa7952
12 changed files with 15 additions and 22 deletions

View File

@ -34,8 +34,6 @@
#include "config.h"
#endif
#include <xf86.h>
#include "sna.h"
#include "sna_reg.h"
#include "sna_render.h"

View File

@ -34,8 +34,6 @@
#include "config.h"
#endif
#include <xf86.h>
#include "sna.h"
#include "sna_reg.h"
#include "sna_render.h"

View File

@ -34,8 +34,6 @@
#include "config.h"
#endif
#include <xf86.h>
#include "sna.h"
#include "sna_reg.h"
#include "sna_render.h"

View File

@ -34,8 +34,6 @@
#include "config.h"
#endif
#include <xf86.h>
#include "sna.h"
#include "sna_reg.h"
#include "sna_render.h"

View File

@ -39,6 +39,8 @@
#include <errno.h>
#include <fcntl.h>
#include <xf86drm.h>
#ifdef HAVE_VALGRIND
#include <valgrind.h>
#include <memcheck.h>

View File

@ -45,18 +45,15 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "compiler.h"
#include <xf86_OSproc.h>
#include <xf86Pci.h>
#include <xf86Cursor.h>
#include <xf86xv.h>
#include <xf86Crtc.h>
#include <xf86RandR12.h>
#include <windowstr.h>
#include <glyphstr.h>
#include <picturestr.h>
#include <gcstruct.h>
#include <xorg-server.h>
#include <pciaccess.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include "../compat-api.h"

View File

@ -40,7 +40,8 @@
#include <xorgVersion.h>
#include <X11/Xatom.h>
#include <X11/extensions/dpmsconst.h>
#include <xf86DDC.h>
#include <xf86drm.h>
#include <xf86DDC.h> /* for xf86InterpretEDID */
#include "sna.h"
#include "sna_reg.h"

View File

@ -36,17 +36,16 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "config.h"
#endif
#include <xf86.h>
#include <xf86_OSproc.h>
#include <errno.h>
#include <string.h>
#include <i915_drm.h>
#include <dri2.h>
#include "sna.h"
#include "sna_reg.h"
#include <xf86drm.h>
#include <i915_drm.h>
#include <dri2.h>
#if DRI2INFOREC_VERSION <= 2
#error DRI2 version supported by the Xserver is too old
#endif

View File

@ -46,6 +46,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <errno.h>
#include <xf86cmap.h>
#include <xf86drm.h>
#include <micmap.h>
#include <fb.h>

View File

@ -3,6 +3,8 @@
#include "compiler.h"
#include <picturestr.h>
#define GRADIENT_CACHE_SIZE 16
struct sna;

View File

@ -31,7 +31,6 @@
#include "config.h"
#endif
#include "xf86.h"
#include "sna.h"
/**

View File

@ -27,8 +27,8 @@ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef SNA_VIDEO_H
#define SNA_VIDEO_H
#include <xf86.h>
#include <xf86_OSproc.h>
#include <xf86xv.h>
#include <fourcc.h>
#if defined(XvMCExtension) && defined(ENABLE_XVMC)