radeon: make build without libdrm_radeon better

This commit is contained in:
Dave Airlie 2009-02-12 14:16:24 +10:00
parent d513915d27
commit c83d0bfe06
2 changed files with 5 additions and 1 deletions

View file

@ -35,7 +35,7 @@
#include <stdint.h>
#include "drm.h"
#include "radeon_drm.h"
#include "radeon_bo.h"
#include "radeon_bocs_wrapper.h"
struct radeon_cs_reloc {
struct radeon_bo *bo;

View file

@ -1016,6 +1016,10 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
return screen;
}
#ifndef RADEON_PARAM_DEVICE_ID
#define RADEON_PARAM_DEVICE_ID 17
#endif
static radeonScreenPtr
radeonCreateScreen2(__DRIscreenPrivate *sPriv)
{