aboutsummaryrefslogtreecommitdiff
path: root/original/uapi/drm/i810_drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'original/uapi/drm/i810_drm.h')
-rw-r--r--original/uapi/drm/i810_drm.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/original/uapi/drm/i810_drm.h b/original/uapi/drm/i810_drm.h
index 34736ef..6e6cf86 100644
--- a/original/uapi/drm/i810_drm.h
+++ b/original/uapi/drm/i810_drm.h
@@ -1,7 +1,11 @@
#ifndef _I810_DRM_H_
#define _I810_DRM_H_
-#include <drm/drm.h>
+#include "drm.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
/* WARNING: These defines must be the same as what the Xserver uses.
* if you change them, you must change the defines in the Xserver.
@@ -280,4 +284,8 @@ typedef struct _drm_i810_mc {
unsigned int last_render; /* Last Render Request */
} drm_i810_mc_t;
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _I810_DRM_H_ */