aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/i915_drm.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2009-12-02 12:13:48 -0500
committerDave Airlie <airlied@redhat.com>2009-12-04 08:59:28 +1000
commit1a95916f5465ad6c91398f17924949db7e0b5c36 (patch)
treee9293ebb277e8cb39dcd57d9c1c07c68a0c8d803 /include/drm/i915_drm.h
parentdrm: Add support for drm master_[set|drop] callbacks. (diff)
downloadlinux-dev-1a95916f5465ad6c91398f17924949db7e0b5c36.tar.xz
linux-dev-1a95916f5465ad6c91398f17924949db7e0b5c36.zip
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.h4
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 @@
#ifndef _I915_DRM_H_
#define _I915_DRM_H_
+#include "drm.h"
+
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints.
*/
-#include <linux/types.h>
-#include "drm.h"
/* Each region is a minimum of 16k, and there are at most 255 of them.
*/