diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-01-30 03:30:45 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-01-30 03:30:45 +0000 |
commit | 4b23b5fc3ebe5660ad8d5eed8057877a9c7592ea (patch) | |
tree | 16d4496710e9c4cf1d5d7cca37d53159e0228bfa /libdrm/xf86drm.h | |
parent | 41cbbb47afa898cd4bfe5f39fad57199088a5727 (diff) |
Final pass of libdrm.so work:
- Add $(DESTDIR) for distributors doing package creation
- Remove OS-specific include path from build
- Add /usr/include/drm for driver-kernel API
- Install all of shared-core/*.h in /usr/include/drm
- Rename xf86drm.h to libdrm.h since we're not X biased anymore
- Include backwards compat for xf86drm.h name, with a warning
- Fix libdrm source to account for drm.h living in /usr/include/drm
Diffstat (limited to 'libdrm/xf86drm.h')
-rw-r--r-- | libdrm/xf86drm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h index 7521e341..bd00a46c 100644 --- a/libdrm/xf86drm.h +++ b/libdrm/xf86drm.h @@ -36,7 +36,9 @@ #ifndef _XF86DRM_H_ #define _XF86DRM_H_ -#include <drm.h> +#ifndef _IN_LIBDRM +#include <drm/drm.h> +#endif /* Defaults, if nothing set in xf86config */ #define DRM_DEV_UID 0 |