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

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

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

parent 6a982350
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,10 @@


#include "drm.h"
#include "drm.h"


#if defined(__cplusplus)
extern "C" {
#endif

/* WARNING: These defines must be the same as what the Xserver uses.
/* WARNING: These defines must be the same as what the Xserver uses.
 * if you change them, you must change the defines in the Xserver.
 * 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_blitsync_t sync;
} drm_via_dmablit_t;
} drm_via_dmablit_t;


#if defined(__cplusplus)
}
#endif

#endif				/* _VIA_DRM_H_ */
#endif				/* _VIA_DRM_H_ */