glx: Add missing include guards
[mesa.git] / src / glx / drisw_priv.h
index a670da2d33bfec4b3b8c7b2378d254912ce6ed8f..259fc864f6ad00c2da30698ffcb86defbfd8b6e8 100644 (file)
@@ -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