Commit 79e7328d authored by Emil Velikov's avatar Emil Velikov

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

Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 37a96bed
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,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.
*/ */
...@@ -280,4 +284,8 @@ typedef struct _drm_i810_mc { ...@@ -280,4 +284,8 @@ typedef struct _drm_i810_mc {
unsigned int last_render; /* Last Render Request */ unsigned int last_render; /* Last Render Request */
} drm_i810_mc_t; } drm_i810_mc_t;
#if defined(__cplusplus)
}
#endif
#endif /* _I810_DRM_H_ */ #endif /* _I810_DRM_H_ */
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