Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -26,6 +26,10 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "drm.h" |
| 28 | 28 | |
| 29 | +#if defined(__cplusplus) | |
| 30 | +extern "C" { | |
| 31 | +#endif | |
| 32 | + | |
| 29 | 33 | /* Please note that modifications to all structs defined here are |
| 30 | 34 | * subject to backwards-compatibility constraints. |
| 31 | 35 | * |
| @@ -147,4 +151,8 @@ struct drm_qxl_alloc_surf { · 115 unmodified lines | ||
| 147 | 151 | DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\ |
| 148 | 152 | struct drm_qxl_alloc_surf) |
| 149 | 153 | |
| 154 | +#if defined(__cplusplus) | |
| 155 | +} | |
| 156 | +#endif | |
| 157 | + | |
| 150 | 158 | #endif |