Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -37,6 +37,10 @@ · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | #include "drm.h" | 38 | #include "drm.h" |
| 39 | 39 | ||
| 40 | #if defined(__cplusplus) | ||
| 41 | extern "C" { | ||
| 42 | #endif | ||
| 43 | |||
| 40 | /* WARNING: If you change any of these defines, make sure to change the | 44 | /* WARNING: If you change any of these defines, make sure to change the |
| 41 | * defines in the Xserver file (mga_sarea.h) | 45 | * defines in the Xserver file (mga_sarea.h) |
| 42 | */ | 46 | */ |
| @@ -416,4 +420,8 @@ typedef struct drm_mga_getparam { · 373 unmodified lines | |||
| 416 | void __user *value; | 420 | void __user *value; |
| 417 | } drm_mga_getparam_t; | 421 | } drm_mga_getparam_t; |
| 418 | 422 | ||
| 423 | #if defined(__cplusplus) | ||
| 424 | } | ||
| 425 | #endif | ||
| 426 | |||
| 419 | #endif | 427 | #endif |