aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-04-07 14:00:35 -0400
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 09:05:53 -0400
commitb1c1f5c400f4c5dfd5405c210fcc9e019b734335 (patch)
tree278505c8b7c2cb1cf4884b16ac952585c26d94a1
parent79e7328db71350e652a963aa6049d13e272a6d24 (diff)
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>
-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 @@
29 29
30#include "drm.h" 30#include "drm.h"
31 31
32#if defined(__cplusplus)
33extern "C" {
34#endif
35
32/* Please note that modifications to all structs defined here are 36/* Please note that modifications to all structs defined here are
33 * subject to backwards-compatibility constraints. 37 * subject to backwards-compatibility constraints.
34 */ 38 */
@@ -1170,4 +1174,8 @@ struct drm_i915_gem_context_param {
1170 __u64 value; 1174 __u64 value;
1171}; 1175};
1172 1176
1177#if defined(__cplusplus)
1178}
1179#endif
1180
1173#endif /* _UAPI_I915_DRM_H_ */ 1181#endif /* _UAPI_I915_DRM_H_ */