diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2009-12-02 12:13:48 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-03 17:59:28 -0500 |
commit | 1a95916f5465ad6c91398f17924949db7e0b5c36 (patch) | |
tree | e9293ebb277e8cb39dcd57d9c1c07c68a0c8d803 /include/drm/i915_drm.h | |
parent | 862302ffe422378a5213f558fc5cdf62c37050a9 (diff) |
drm: Add compatibility #ifdefs for *BSD
This let's use use the linux drm headers as the canonical source for
libdrm on all platforms.
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/i915_drm.h')
-rw-r--r-- | include/drm/i915_drm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 7e0cb1da92e6..a04c3ab1d726 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h | |||
@@ -27,11 +27,11 @@ | |||
27 | #ifndef _I915_DRM_H_ | 27 | #ifndef _I915_DRM_H_ |
28 | #define _I915_DRM_H_ | 28 | #define _I915_DRM_H_ |
29 | 29 | ||
30 | #include "drm.h" | ||
31 | |||
30 | /* Please note that modifications to all structs defined here are | 32 | /* Please note that modifications to all structs defined here are |
31 | * subject to backwards-compatibility constraints. | 33 | * subject to backwards-compatibility constraints. |
32 | */ | 34 | */ |
33 | #include <linux/types.h> | ||
34 | #include "drm.h" | ||
35 | 35 | ||
36 | /* Each region is a minimum of 16k, and there are at most 255 of them. | 36 | /* Each region is a minimum of 16k, and there are at most 255 of them. |
37 | */ | 37 | */ |