History

drm/qxl: add extern C guard for the UAPI header

Emil Velikov committed 10 years ago

Commit 485c40b1 parent c92378a1 file · +8 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/qxl_drm.h+8−0
@@ -26,6 +26,10 @@ · 25 unmodified lines
2626
2727 #include "drm.h"
2828
29+#if defined(__cplusplus)
30+extern "C" {
31+#endif
32+
2933 /* Please note that modifications to all structs defined here are
3034 * subject to backwards-compatibility constraints.
3135 *
@@ -147,4 +151,8 @@ struct drm_qxl_alloc_surf { · 115 unmodified lines
147151 DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\
148152 struct drm_qxl_alloc_surf)
149153
154+#if defined(__cplusplus)
155+}
156+#endif
157+
150158 #endif