headers: Sync up some header guard changes from drm-next.
[platform/upstream/libdrm.git] / include / drm / qxl_drm.h
index 1e331a8..ccd841b 100644 (file)
 #include <stddef.h>
 #include "drm.h"
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.
  *
@@ -149,4 +153,8 @@ struct drm_qxl_alloc_surf {
        DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\
                struct drm_qxl_alloc_surf)
 
+#if defined(__cplusplus)
+}
+#endif
+
 #endif