diff options
author | Dave Airlie <airlied@linux.ie> | 2005-06-11 10:08:39 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-06-11 10:08:39 +0000 |
commit | 3585bdf7d81a92c729bb5bcbc7cfca6048d640ce (patch) | |
tree | 8c2a9fd887c8d764325eefb1b0c48a8577ce101b /shared-core | |
parent | f4aa8ab715cdb2382609f51dda4d832de417894a (diff) |
fix up drm.h for C++ include as this can be included in user programs
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; |