Module Name:    xsrc
Committed By:   christos
Date:           Sun Apr  7 19:34:18 UTC 2019

Modified Files:
        xsrc/external/mit/MesaLib/dist/include/GL/internal: dri_interface.h

Log Message:
prevent re-definitions from drm.h


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.7 -r1.2 \
    xsrc/external/mit/MesaLib/dist/include/GL/internal/dri_interface.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/MesaLib/dist/include/GL/internal/dri_interface.h
diff -u xsrc/external/mit/MesaLib/dist/include/GL/internal/dri_interface.h:1.1.1.7 xsrc/external/mit/MesaLib/dist/include/GL/internal/dri_interface.h:1.2
--- xsrc/external/mit/MesaLib/dist/include/GL/internal/dri_interface.h:1.1.1.7	Sat Mar  9 22:42:48 2019
+++ xsrc/external/mit/MesaLib/dist/include/GL/internal/dri_interface.h	Sun Apr  7 15:34:18 2019
@@ -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>
 

Reply via email to