summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-04-07 19:37:48 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 14:06:19 +0100
commitb6c2b64223d27ca579cce61fa5ffbf71b3f12a38 (patch)
tree3045640600da7b9105314e796f6d7de726bc039e /include/uapi
parent6a982350f892c286c645a6fe0e1da1f869a0c43f (diff)
drm/via: add extern C guard for the UAPI header
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/via_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h
index fa21ed185520..a1e125d42208 100644
--- a/include/uapi/drm/via_drm.h
+++ b/include/uapi/drm/via_drm.h
@@ -26,6 +26,10 @@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* WARNING: These defines must be the same as what the Xserver uses.
* if you change them, you must change the defines in the Xserver.
*/
@@ -271,4 +275,8 @@ typedef struct drm_via_dmablit {
drm_via_blitsync_t sync;
} drm_via_dmablit_t;
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _VIA_DRM_H_ */