summaryrefslogtreecommitdiff
path: root/lib/libdrm/intel/intel_bufmgr.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-08-22 00:30:36 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-08-22 00:30:36 +0000
commitca5aa37280ded3370d495f0c56c4a31dd633fdf8 (patch)
treeaa22147982f7a8b85b57e22e80b33b9a34961d4b /lib/libdrm/intel/intel_bufmgr.h
parentcde466ed50e79a55b4c7495ef43f87c8291c1ce8 (diff)
Merge libdrm 2.4.64. This changes the build to using the upstream
auto* build system and installing/using a libdrm specific set of drm headers. Thanks to Emil Velikov for removing the GNU makeisms upstream.
Diffstat (limited to 'lib/libdrm/intel/intel_bufmgr.h')
-rw-r--r--lib/libdrm/intel/intel_bufmgr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libdrm/intel/intel_bufmgr.h b/lib/libdrm/intel/intel_bufmgr.h
index 285919e4c..95eecb800 100644
--- a/lib/libdrm/intel/intel_bufmgr.h
+++ b/lib/libdrm/intel/intel_bufmgr.h
@@ -38,6 +38,10 @@
#include <stdint.h>
#include <stdio.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
struct drm_clip_rect;
typedef struct _drm_intel_bufmgr drm_intel_bufmgr;
@@ -308,4 +312,8 @@ int drm_intel_get_eu_total(int fd, unsigned int *eu_total);
/** @{ */
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* INTEL_BUFMGR_H */