summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-03-24 08:34:19 -0600
committerBrian Paul <[email protected]>2011-03-24 08:34:44 -0600
commitff2950dd690a2ed9ee96823030ba9edf073c8229 (patch)
treeba2834e3fa6f89db18a8a0e77b8c2e4791b412b7 /src/mesa/drivers
parentb5745429d733f2b381b8afef74448c29e7c3c2ed (diff)
radeon: reorder #includes to silence warnings
Silences warnings about RADEON_TILING_SURFACE being redefined. Only compile tested, not run tested.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
index 60f10496026..607b7470d4b 100644
--- a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
+++ b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
@@ -1,6 +1,10 @@
#ifndef RADEON_CS_WRAPPER_H
#define RADEON_CS_WRAPPER_H
+/* to be used to build locally in mesa with no libdrm bits */
+#include "../radeon/radeon_bo_drm.h"
+#include "../radeon/radeon_cs_drm.h"
+
#ifdef HAVE_LIBDRM_RADEON
#include "radeon_bo.h"
@@ -24,10 +28,6 @@
* when mapped - i.e. front buffer */
#endif
-/* to be used to build locally in mesa with no libdrm bits */
-#include "../radeon/radeon_bo_drm.h"
-#include "../radeon/radeon_cs_drm.h"
-
#ifndef DRM_RADEON_GEM_INFO
#define DRM_RADEON_GEM_INFO 0x1c