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 | /* WARNING: These defines must be the same as what the Xserver uses. |
| 30 | 34 | * if you change them, you must change the defines in the Xserver. |
| 31 | 35 | */ |
| @@ -271,4 +275,8 @@ typedef struct drm_via_dmablit { · 239 unmodified lines | ||
| 271 | 275 | drm_via_blitsync_t sync; |
| 272 | 276 | } drm_via_dmablit_t; |
| 273 | 277 | |
| 278 | +#if defined(__cplusplus) | |
| 279 | +} | |
| 280 | +#endif | |
| 281 | + | |
| 274 | 282 | #endif /* _VIA_DRM_H_ */ |