summaryrefslogtreecommitdiff
path: root/lib/mesa/src/glx/dri2_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/glx/dri2_priv.h')
-rw-r--r--lib/mesa/src/glx/dri2_priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mesa/src/glx/dri2_priv.h b/lib/mesa/src/glx/dri2_priv.h
index 30ab2cdd8..a93551b14 100644
--- a/lib/mesa/src/glx/dri2_priv.h
+++ b/lib/mesa/src/glx/dri2_priv.h
@@ -30,6 +30,9 @@
* Kristian Høgsberg (krh@redhat.com)
*/
+#ifndef DRI2_PRIV_H
+#define DRI2_PRIV_H
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -82,3 +85,5 @@ dri2_interop_export_object(struct glx_context *ctx,
#ifdef __cplusplus
}
#endif
+
+#endif