diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2016-04-07 18:49:00 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-05-13 13:57:17 +0100 |
commit | ebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f (patch) | |
tree | f4a6b0f01b2edd7c0108ae327518c990114f66f9 /include/uapi/drm/drm_mode.h | |
parent | 1224649a9c842b4bb2ba4bd06af0c24d2b941ff0 (diff) | |
download | linux-ebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f.tar.gz linux-ebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f.tar.bz2 linux-ebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f.zip |
drm: add extern C guard for the UAPI headers
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'include/uapi/drm/drm_mode.h')
-rw-r--r-- | include/uapi/drm/drm_mode.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index f7e53ea9ee96..49a72659b801 100644 --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h @@ -29,6 +29,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + #define DRM_DISPLAY_INFO_LEN 32 #define DRM_CONNECTOR_NAME_LEN 32 #define DRM_DISPLAY_MODE_LEN 32 @@ -623,4 +627,8 @@ struct drm_mode_destroy_blob { __u32 blob_id; }; +#if defined(__cplusplus) +} +#endif + #endif |