drm/savage: add extern C guard for the UAPI header
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:14:34 +0000 (19:14 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:15 +0000 (14:06 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/savage_drm.h

index 574147489c60f4a64084b0b8599bfda8f5a99975..0f6eddef74aa49b474ab0b277304f68c3058e236 100644 (file)
 
 #include "drm.h"
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 #ifndef __SAVAGE_SAREA_DEFINES__
 #define __SAVAGE_SAREA_DEFINES__
 
@@ -209,4 +213,8 @@ union drm_savage_cmd_header {
        } clear1;               /* SAVAGE_CMD_CLEAR data */
 };
 
+#if defined(__cplusplus)
+}
+#endif
+
 #endif