Skip to content

Commit

Permalink
drm/virgl: add extern C guard for the UAPI header
Browse files Browse the repository at this point in the history
Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
  • Loading branch information
Emil Velikov committed May 13, 2016
1 parent b6c2b64 commit 3818081
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/uapi/drm/virtgpu_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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

0 comments on commit 3818081

Please sign in to comment.