mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 05:50:11 +01:00
fix up drm.h for C++ include as this can be included in user programs
This commit is contained in:
parent
f4aa8ab715
commit
3585bdf7d8
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue