From: Emil Velikov Date: Thu, 7 Apr 2016 18:09:39 +0000 (+0100) Subject: drm/qxl: add extern C guard for the UAPI header X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=485c40b467a25a4e376d283c7bc679b6d20caa52;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/qxl: add extern C guard for the UAPI header Cc: Gerd Hoffmann Cc: Dave Airlie Signed-off-by: Emil Velikov --- diff --git a/include/uapi/drm/qxl_drm.h b/include/uapi/drm/qxl_drm.h index 826615d8e180..7eef42213051 100644 --- a/include/uapi/drm/qxl_drm.h +++ b/include/uapi/drm/qxl_drm.h @@ -26,6 +26,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. * @@ -147,4 +151,8 @@ struct drm_qxl_alloc_surf { DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\ struct drm_qxl_alloc_surf) +#if defined(__cplusplus) +} +#endif + #endif