Commit b1c1f5c4 authored by Emil Velikov's avatar Emil Velikov

drm/i915: add extern C guard for the UAPI header

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Acked-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent 79e7328d
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
#include "drm.h" #include "drm.h"
#if defined(__cplusplus)
extern "C" {
#endif
/* Please note that modifications to all structs defined here are /* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints. * subject to backwards-compatibility constraints.
*/ */
...@@ -1170,4 +1174,8 @@ struct drm_i915_gem_context_param { ...@@ -1170,4 +1174,8 @@ struct drm_i915_gem_context_param {
__u64 value; __u64 value;
}; };
#if defined(__cplusplus)
}
#endif
#endif /* _UAPI_I915_DRM_H_ */ #endif /* _UAPI_I915_DRM_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment