Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea526b7f authored by Emil Velikov's avatar Emil Velikov
Browse files

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

parent 6db26a94
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -28,6 +28,10 @@

#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