From: Emil Velikov Date: Thu, 7 Apr 2016 18:01:39 +0000 (+0100) Subject: drm/mga: add extern C guard for the UAPI header X-Git-Tag: MMI-PSA29.97-13-9~7857^2~8^2~14 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c56e046f17a40571cf2bddd0edaeafa769ffba9a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/mga: add extern C guard for the UAPI header Signed-off-by: Emil Velikov --- diff --git a/include/uapi/drm/mga_drm.h b/include/uapi/drm/mga_drm.h index fca817009e13..8c4337548ab5 100644 --- a/include/uapi/drm/mga_drm.h +++ b/include/uapi/drm/mga_drm.h @@ -37,6 +37,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + /* WARNING: If you change any of these defines, make sure to change the * defines in the Xserver file (mga_sarea.h) */ @@ -416,4 +420,8 @@ typedef struct drm_mga_getparam { void __user *value; } drm_mga_getparam_t; +#if defined(__cplusplus) +} +#endif + #endif