aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/i915_drm.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-04-07 19:00:35 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 14:05:53 +0100
commitb1c1f5c400f4c5dfd5405c210fcc9e019b734335 (patch)
tree278505c8b7c2cb1cf4884b16ac952585c26d94a1 /include/uapi/drm/i915_drm.h
parentdrm/i810: add extern C guard for the UAPI header (diff)
downloadlinux-dev-b1c1f5c400f4c5dfd5405c210fcc9e019b734335.tar.xz
linux-dev-b1c1f5c400f4c5dfd5405c210fcc9e019b734335.zip
drm/i915: add extern C guard for the UAPI header
Cc: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/uapi/drm/i915_drm.h')
-rw-r--r--include/uapi/drm/i915_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h
index a5524cc95ff8..c17d63d8b543 100644
--- a/include/uapi/drm/i915_drm.h
+++ b/include/uapi/drm/i915_drm.h
@@ -29,6 +29,10 @@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints.
*/
@@ -1170,4 +1174,8 @@ struct drm_i915_gem_context_param {
__u64 value;
};
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _UAPI_I915_DRM_H_ */