summaryrefslogtreecommitdiffstats
path: root/include/GL/internal/dri_interface.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-04-29 12:23:39 +0000
committerKeith Whitwell <[email protected]>2004-04-29 12:23:39 +0000
commit74d563cdfbfb07cc666d60dc909e90ddb9949cbb (patch)
tree8f1f7b77465c03c9dcb6a4ae3937b278dc275bc0 /include/GL/internal/dri_interface.h
parentc35dcfcf0adb335a28fdb1503447655dbb809927 (diff)
Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.
Diffstat (limited to 'include/GL/internal/dri_interface.h')
-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 109b4ee8452..14b3751484e 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -35,6 +35,9 @@
* \author Ian Romanick <[email protected]>
*/
+#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