aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/drisw_priv.h
diff options
context:
space:
mode:
authorMichał Janiszewski <[email protected]>2018-10-29 15:51:00 -0600
committerBrian Paul <[email protected]>2018-10-30 06:19:10 -0600
commitec994ca0fc2b853c00d9b54de7c87715ec605c2e (patch)
tree4929912ee031fa65b34a05b9a046977db4128eb0 /src/glx/drisw_priv.h
parent8ebd7039c4c46dfad9831ba4d70a2a5ea23f2f72 (diff)
glx: Add missing include guards
Signed-off-by: Michał Janiszewski <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glx/drisw_priv.h')
-rw-r--r--src/glx/drisw_priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/drisw_priv.h b/src/glx/drisw_priv.h
index a670da2d33b..259fc864f6a 100644
--- a/src/glx/drisw_priv.h
+++ b/src/glx/drisw_priv.h
@@ -23,6 +23,9 @@
* SOFTWARE.
*/
+#ifndef DRISW_PRIV_H
+#define DRISW_PRIV_H
+
#include <X11/extensions/XShm.h>
struct drisw_display
@@ -73,3 +76,5 @@ drisw_query_renderer_integer(struct glx_screen *base, int attribute,
_X_HIDDEN int
drisw_query_renderer_string(struct glx_screen *base, int attribute,
const char **value);
+
+#endif