summaryrefslogtreecommitdiff
path: root/include/GL/internal
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-04-29 12:23:39 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-04-29 12:23:39 +0000
commit74d563cdfbfb07cc666d60dc909e90ddb9949cbb (patch)
tree8f1f7b77465c03c9dcb6a4ae3937b278dc275bc0 /include/GL/internal
parentc35dcfcf0adb335a28fdb1503447655dbb809927 (diff)
Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.
Diffstat (limited to 'include/GL/internal')
-rw-r--r--include/GL/internal/dri_interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 109b4ee845..14b3751484 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -35,6 +35,9 @@
* \author Ian Romanick <idr@us.ibm.com>
*/
+#ifndef DRI_INTERFACE_H
+#define DRI_INTERFACE_H
+
/* FIXME: With a small amount of work, these two includes can be removed. */
#include <X11/Xlib.h>
#include <GL/glx.h>
@@ -497,3 +500,5 @@ struct __DRIdrawableRec {
*/
unsigned swap_interval;
};
+
+#endif