Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/MesaLib/dist/include/GL/internal prevent re-d...



details:   https://anonhg.NetBSD.org/xsrc/rev/b40e85f2f1a0
branches:  trunk
changeset: 10262:b40e85f2f1a0
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 07 19:34:18 2019 +0000

description:
prevent re-definitions from drm.h

diffstat:

 external/mit/MesaLib/dist/include/GL/internal/dri_interface.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 17fed26fd6ce -r b40e85f2f1a0 external/mit/MesaLib/dist/include/GL/internal/dri_interface.h
--- a/external/mit/MesaLib/dist/include/GL/internal/dri_interface.h     Sun Apr 07 15:34:46 2019 +0000
+++ b/external/mit/MesaLib/dist/include/GL/internal/dri_interface.h     Sun Apr 07 19:34:18 2019 +0000
@@ -43,10 +43,12 @@
 #ifdef HAVE_LIBDRM
 #include <drm.h>
 #else
+#ifndef _DRM_H_
 typedef unsigned int drm_context_t;
 typedef unsigned int drm_drawable_t;
 typedef struct drm_clip_rect drm_clip_rect_t;
 #endif
+#endif
 
 #include <stdint.h>
 



Home | Main Index | Thread Index | Old Index