From: Emil Velikov Date: Thu, 7 Apr 2016 18:37:48 +0000 (+0100) Subject: drm/via: add extern C guard for the UAPI header X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b6c2b64223d27ca579cce61fa5ffbf71b3f12a38;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/via: add extern C guard for the UAPI header Signed-off-by: Emil Velikov --- diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index fa21ed185520..a1e125d42208 100644 --- a/include/uapi/drm/via_drm.h +++ b/include/uapi/drm/via_drm.h @@ -26,6 +26,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + /* WARNING: These defines must be the same as what the Xserver uses. * if you change them, you must change the defines in the Xserver. */ @@ -271,4 +275,8 @@ typedef struct drm_via_dmablit { drm_via_blitsync_t sync; } drm_via_dmablit_t; +#if defined(__cplusplus) +} +#endif + #endif /* _VIA_DRM_H_ */