Commit ea526b7f authored by Emil Velikov's avatar Emil Velikov

drm/savage: add extern C guard for the UAPI header

Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 6db26a94
...@@ -28,6 +28,10 @@ ...@@ -28,6 +28,10 @@
#include "drm.h" #include "drm.h"
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef __SAVAGE_SAREA_DEFINES__ #ifndef __SAVAGE_SAREA_DEFINES__
#define __SAVAGE_SAREA_DEFINES__ #define __SAVAGE_SAREA_DEFINES__
...@@ -209,4 +213,8 @@ union drm_savage_cmd_header { ...@@ -209,4 +213,8 @@ union drm_savage_cmd_header {
} clear1; /* SAVAGE_CMD_CLEAR data */ } clear1; /* SAVAGE_CMD_CLEAR data */
}; };
#if defined(__cplusplus)
}
#endif
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment