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

Commit 81dda387 authored by Emil Velikov's avatar Emil Velikov
Browse files

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

parent ea526b7f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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__ */