diff options
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/drm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index 3acd40a8..d2dde34f 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -439,7 +439,11 @@ typedef struct drm_buf_pub { */ typedef struct drm_buf_map { int count; /**< Length of the buffer list */ +#if defined(__cplusplus) + void __user *c_virtual; +#else void __user *virtual; /**< Mmap'd area in user-virtual */ +#endif drm_buf_pub_t __user *list; /**< Buffer information */ } drm_buf_map_t; |