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