Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -19,6 +19,10 @@ · 18 unmodified lines | ||
| 19 | 19 | |
| 20 | 20 | #include "drm.h" |
| 21 | 21 | |
| 22 | +#if defined(__cplusplus) | |
| 23 | +extern "C" { | |
| 24 | +#endif | |
| 25 | + | |
| 22 | 26 | /* Please note that modifications to all structs defined here are |
| 23 | 27 | * subject to backwards-compatibility constraints: |
| 24 | 28 | * 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit |
| @@ -222,4 +226,8 @@ struct drm_etnaviv_gem_wait { · 197 unmodified lines | ||
| 222 | 226 | #define DRM_IOCTL_ETNAVIV_GEM_USERPTR DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_USERPTR, struct drm_etnaviv_gem_userptr) |
| 223 | 227 | #define DRM_IOCTL_ETNAVIV_GEM_WAIT DRM_IOW(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_WAIT, struct drm_etnaviv_gem_wait) |
| 224 | 228 | |
| 229 | +#if defined(__cplusplus) | |
| 230 | +} | |
| 231 | +#endif | |
| 232 | + | |
| 225 | 233 | #endif /* __ETNAVIV_DRM_H__ */ |