summaryrefslogtreecommitdiff
path: root/src/radeon_present.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-03-17 16:32:09 +0900
committerMichel Dänzer <michel@daenzer.net>2015-03-17 16:32:09 +0900
commit694e04720b886060fe3eefdce59741f218c8269f (patch)
treebb606bb1bb166bb934b6b4658fb3d3f286e06d23 /src/radeon_present.c
parent64e1e4dbdd3caee6f5d8f6b6c094b4533fa94953 (diff)
Simplify includes in radeon_{dri3,present}.c
Just include radeon.h first. Fixes build failures against older versions of xserver because compat-api.h wasn't getting picked up. Reported by "Pali" on IRC.
Diffstat (limited to 'src/radeon_present.c')
-rw-r--r--src/radeon_present.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/radeon_present.c b/src/radeon_present.c
index d8845487..0aa96cf0 100644
--- a/src/radeon_present.c
+++ b/src/radeon_present.c
@@ -25,8 +25,7 @@
#include "config.h"
#endif
-#include <xorg-server.h>
-#include <xf86.h>
+#include "radeon.h"
#ifdef HAVE_PRESENT_H
@@ -43,16 +42,6 @@
#include <time.h>
#include <errno.h>
-#include "xf86_OSproc.h"
-
-#include "xf86Pci.h"
-#include "xf86drm.h"
-
-#include "windowstr.h"
-#include "shadow.h"
-#include "fb.h"
-
-#include "radeon.h"
#include "radeon_video.h"
#include "present.h"