summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 13:59:03 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 14:06:16 +0100
commit81dda38710ffe1fb94e755235e60f10d7e63f51b (patch)
treec1323910a019072bc9e4816a337cc827330289ba /include
parentea526b7f17a4f27202aa368a6ac4668826f75d4a (diff)
drm/sis: add extern C guard for the UAPI header
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/sis_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm/sis_drm.h
index a20d88bc4970..3e3f7e989e0b 100644
--- a/include/uapi/drm/sis_drm.h
+++ b/include/uapi/drm/sis_drm.h
@@ -29,6 +29,10 @@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* SiS specific ioctls */
#define NOT_USED_0_3
#define DRM_SIS_FB_ALLOC 0x04
@@ -66,4 +70,8 @@ typedef struct {
unsigned long offset, size;
} drm_sis_fb_t;
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* __SIS_DRM_H__ */