From: Emil Velikov Date: Thu, 7 Apr 2016 18:00:35 +0000 (+0100) Subject: drm/i915: add extern C guard for the UAPI header X-Git-Tag: v5.15~13554^2~8^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1c1f5c400f4c5dfd5405c210fcc9e019b734335;p=platform%2Fkernel%2Flinux-starfive.git drm/i915: add extern C guard for the UAPI header Cc: Jani Nikula Signed-off-by: Emil Velikov Acked-by: Daniel Vetter --- diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index a5524cc..c17d63d 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_ */