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: MMI-PSA29.97-13-9~7857^2~8^2~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1c1f5c400f4c5dfd5405c210fcc9e019b734335;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 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_ */