aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/dri2_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/dri2_priv.h')
-rw-r--r--src/glx/dri2_priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/dri2_priv.h b/src/glx/dri2_priv.h
index 30ab2cdd871..a93551b146d 100644
--- a/src/glx/dri2_priv.h
+++ b/src/glx/dri2_priv.h
@@ -30,6 +30,9 @@
* Kristian Høgsberg ([email protected])
*/
+#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