From d3450e009f9038f3c7824f64695fa51ef2474e08 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 7 Apr 2016 19:40:10 +0100 Subject: [PATCH] drm/vmwgfx: add extern C guard for the UAPI header Cc: Thomas Hellstrom Cc: Brian Paul Signed-off-by: Emil Velikov Acked-by: Sinclair Yeh --- include/uapi/drm/vmwgfx_drm.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h index 5b68b4d10884..d325a4107916 100644 --- a/include/uapi/drm/vmwgfx_drm.h +++ b/include/uapi/drm/vmwgfx_drm.h @@ -30,6 +30,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + #define DRM_VMW_MAX_SURFACE_FACES 6 #define DRM_VMW_MAX_MIP_LEVELS 24 @@ -1087,4 +1091,9 @@ union drm_vmw_extended_context_arg { enum drm_vmw_extended_context req; struct drm_vmw_context_arg rep; }; + +#if defined(__cplusplus) +} +#endif + #endif -- 2.20.1