radeon: fixup include ordering
authorDave Airlie <airlied@redhat.com>
Thu, 12 Feb 2009 15:21:37 +0000 (01:21 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Feb 2009 15:21:37 +0000 (01:21 +1000)
src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
src/mesa/drivers/dri/radeon/radeon_cs_drm.h

index 0f45e9d5a232a450b65a77367b58ee16a2a0eb90..97467b22ce9c9d95e532eef0566827eb0e6537a1 100644 (file)
 #define RADEON_GEM_DOMAIN_GTT 0x2   // GTT or cache flushed
 #define RADEON_GEM_DOMAIN_VRAM 0x4  // VRAM domain
 
+/* 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
 
@@ -31,9 +35,6 @@ struct drm_radeon_gem_info {
 #define RADEON_PARAM_DEVICE_ID 17
 #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"
 
 
 static inline void *radeon_bo_manager_gem_ctor(int fd)
index ffda17c11fe4c92acaa1a295f1f0f47dc406dbf4..8f0b449e41f10ffed8dce03ffdadbf2d5ac15314 100644 (file)
@@ -35,7 +35,6 @@
 #include <stdint.h>
 #include "drm.h"
 #include "radeon_drm.h"
-#include "radeon_bocs_wrapper.h"
 
 struct radeon_cs_reloc {
     struct radeon_bo    *bo;