summaryrefslogtreecommitdiff
path: root/src/radeon_dri3.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_dri3.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_dri3.c')
-rw-r--r--src/radeon_dri3.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/radeon_dri3.c b/src/radeon_dri3.c
index 83bffaea..1413a62f 100644
--- a/src/radeon_dri3.c
+++ b/src/radeon_dri3.c
@@ -26,13 +26,10 @@
#include "config.h"
#endif
-#include "xorg-server.h"
-#include "xf86.h"
-#include "fb.h"
+#include "radeon.h"
#ifdef HAVE_DRI3_H
-#include "radeon.h"
#include "radeon_bo_gem.h"
#include "radeon_glamor.h"
#include "dri3.h"