aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/glx_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/glx_error.h')
-rw-r--r--src/glx/glx_error.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glx/glx_error.h b/src/glx/glx_error.h
index 5d3992672e0..6a2f32aa56e 100644
--- a/src/glx/glx_error.h
+++ b/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