From 4b23b5fc3ebe5660ad8d5eed8057877a9c7592ea Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Sun, 30 Jan 2005 03:30:45 +0000 Subject: 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 --- libdrm/xf86drm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libdrm/xf86drm.h') 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 +#ifndef _IN_LIBDRM +#include +#endif /* Defaults, if nothing set in xf86config */ #define DRM_DEV_UID 0 -- cgit v1.2.3