projects
/
platform
/
upstream
/
libdrm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
headers: Sync up some header guard changes from drm-next.
[platform/upstream/libdrm.git]
/
include
/
drm
/
nouveau_drm.h
diff --git
a/include/drm/nouveau_drm.h
b/include/drm/nouveau_drm.h
index
e418f9f
..
542a732
100644
(file)
--- a/
include/drm/nouveau_drm.h
+++ b/
include/drm/nouveau_drm.h
@@
-27,6
+27,12
@@
#define NOUVEAU_DRM_HEADER_PATCHLEVEL 16
#define NOUVEAU_DRM_HEADER_PATCHLEVEL 16
+#include "drm.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
struct drm_nouveau_channel_alloc {
uint32_t fb_ctxdma_handle;
uint32_t tt_ctxdma_handle;
struct drm_nouveau_channel_alloc {
uint32_t fb_ctxdma_handle;
uint32_t tt_ctxdma_handle;
@@
-207,4
+213,8
@@
struct drm_nouveau_sarea {
#define DRM_NOUVEAU_GEM_CPU_FINI 0x43
#define DRM_NOUVEAU_GEM_INFO 0x44
#define DRM_NOUVEAU_GEM_CPU_FINI 0x43
#define DRM_NOUVEAU_GEM_INFO 0x44
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* __NOUVEAU_DRM_H__ */
#endif /* __NOUVEAU_DRM_H__ */