Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38180815 authored by Emil Velikov's avatar Emil Velikov
Browse files

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



Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent b6c2b642
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -26,6 +26,10 @@

#include "drm.h"

#if defined(__cplusplus)
extern "C" {
#endif

/* Please note that modifications to all structs defined here are
 * subject to backwards-compatibility constraints.
 *
@@ -163,4 +167,8 @@ struct drm_virtgpu_get_caps {
	DRM_IOWR(DRM_COMMAND_BASE + DRM_VIRTGPU_GET_CAPS, \
	struct drm_virtgpu_get_caps)

#if defined(__cplusplus)
}
#endif

#endif