diff options
Diffstat (limited to 'include/drm/vmwgfx_drm.h')
-rw-r--r-- | include/drm/vmwgfx_drm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/drm/vmwgfx_drm.h b/include/drm/vmwgfx_drm.h index 5b68b4d1..d325a410 100644 --- a/include/drm/vmwgfx_drm.h +++ b/include/drm/vmwgfx_drm.h | |||
@@ -30,6 +30,10 @@ | |||
30 | 30 | ||
31 | #include "drm.h" | 31 | #include "drm.h" |
32 | 32 | ||
33 | #if defined(__cplusplus) | ||
34 | extern "C" { | ||
35 | #endif | ||
36 | |||
33 | #define DRM_VMW_MAX_SURFACE_FACES 6 | 37 | #define DRM_VMW_MAX_SURFACE_FACES 6 |
34 | #define DRM_VMW_MAX_MIP_LEVELS 24 | 38 | #define DRM_VMW_MAX_MIP_LEVELS 24 |
35 | 39 | ||
@@ -1087,4 +1091,9 @@ union drm_vmw_extended_context_arg { | |||
1087 | enum drm_vmw_extended_context req; | 1091 | enum drm_vmw_extended_context req; |
1088 | struct drm_vmw_context_arg rep; | 1092 | struct drm_vmw_context_arg rep; |
1089 | }; | 1093 | }; |
1094 | |||
1095 | #if defined(__cplusplus) | ||
1096 | } | ||
1097 | #endif | ||
1098 | |||
1090 | #endif | 1099 | #endif |