diff options
Diffstat (limited to 'lib/libdrm/include/drm/via_drm.h')
-rw-r--r-- | lib/libdrm/include/drm/via_drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libdrm/include/drm/via_drm.h b/lib/libdrm/include/drm/via_drm.h index 182f8792f..8b69e8197 100644 --- a/lib/libdrm/include/drm/via_drm.h +++ b/lib/libdrm/include/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. */ @@ -272,4 +276,8 @@ typedef struct drm_via_dmablit { drm_via_blitsync_t sync; } drm_via_dmablit_t; +#if defined(__cplusplus) +} +#endif + #endif /* _VIA_DRM_H_ */ |