radeon: reorder #includes to silence warnings
authorBrian Paul <brianp@vmware.com>
Thu, 24 Mar 2011 14:34:19 +0000 (08:34 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 24 Mar 2011 14:34:44 +0000 (08:34 -0600)
Silences warnings about RADEON_TILING_SURFACE being redefined.
Only compile tested, not run tested.

src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h

index 60f104960261a283433b005df608ab338d0ef0a1..607b7470d4b03367e64192896d590126df53e9a1 100644 (file)
@@ -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"
                                   * 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