diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2016-04-07 14:09:39 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-05-13 09:06:12 -0400 |
commit | 485c40b467a25a4e376d283c7bc679b6d20caa52 (patch) | |
tree | ea34635f78820e9392a5695dbd1097b5cb5eec6b | |
parent | c92378a06181456c4d8e45a33764c8524c15b99b (diff) |
drm/qxl: add extern C guard for the UAPI header
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r-- | include/uapi/drm/qxl_drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/qxl_drm.h b/include/uapi/drm/qxl_drm.h index 826615d8e180..7eef42213051 100644 --- a/include/uapi/drm/qxl_drm.h +++ b/include/uapi/drm/qxl_drm.h | |||
@@ -26,6 +26,10 @@ | |||
26 | 26 | ||
27 | #include "drm.h" | 27 | #include "drm.h" |
28 | 28 | ||
29 | #if defined(__cplusplus) | ||
30 | extern "C" { | ||
31 | #endif | ||
32 | |||
29 | /* Please note that modifications to all structs defined here are | 33 | /* Please note that modifications to all structs defined here are |
30 | * subject to backwards-compatibility constraints. | 34 | * subject to backwards-compatibility constraints. |
31 | * | 35 | * |
@@ -147,4 +151,8 @@ struct drm_qxl_alloc_surf { | |||
147 | DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\ | 151 | DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\ |
148 | struct drm_qxl_alloc_surf) | 152 | struct drm_qxl_alloc_surf) |
149 | 153 | ||
154 | #if defined(__cplusplus) | ||
155 | } | ||
156 | #endif | ||
157 | |||
150 | #endif | 158 | #endif |