summaryrefslogtreecommitdiff
path: root/lib/mesa/src/glx/glx_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/glx/glx_error.h')
-rw-r--r--lib/mesa/src/glx/glx_error.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/mesa/src/glx/glx_error.h b/lib/mesa/src/glx/glx_error.h
index 5d3992672..6a2f32aa5 100644
--- a/lib/mesa/src/glx/glx_error.h
+++ b/lib/mesa/src/glx/glx_error.h
@@ -26,6 +26,10 @@
promote the sale, use or other dealings in this Software without
prior written authorization.
*/
+
+#ifndef GLX_ERROR_H
+#define GLX_ERROR_H
+
#include <stdbool.h>
#include <stdint.h>
#include <X11/Xlib.h>
@@ -45,3 +49,5 @@ _X_HIDDEN void __glXSendErrorForXcb(Display * dpy,
#ifdef __cplusplus
}
#endif
+
+#endif