diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2016-04-07 19:00:35 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-05-13 14:05:53 +0100 |
commit | b1c1f5c400f4c5dfd5405c210fcc9e019b734335 (patch) | |
tree | 278505c8b7c2cb1cf4884b16ac952585c26d94a1 /include/uapi | |
parent | 79e7328db71350e652a963aa6049d13e272a6d24 (diff) | |
download | op-kernel-dev-b1c1f5c400f4c5dfd5405c210fcc9e019b734335.zip op-kernel-dev-b1c1f5c400f4c5dfd5405c210fcc9e019b734335.tar.gz |
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')
-rw-r--r-- | include/uapi/drm/i915_drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
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_ */ |