glx/windows: Fix compilation with -Werror-format
[mesa.git] / src / glx / dri2_priv.h
index edba31e8fee0ed1b6d8dd5ad618371e9a1f9d657..a93551b146dccfb33af8028de6602d09c76800c9 100644 (file)
@@ -30,6 +30,9 @@
  *   Kristian Høgsberg (krh@redhat.com)
  */
 
+#ifndef DRI2_PRIV_H
+#define DRI2_PRIV_H
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -72,13 +75,15 @@ dri2_query_renderer_string(struct glx_screen *base, int attribute,
 
 _X_HIDDEN int
 dri2_interop_query_device_info(struct glx_context *ctx,
-                               mesa_glinterop_device_info *out);
+                               struct mesa_glinterop_device_info *out);
 
 _X_HIDDEN int
 dri2_interop_export_object(struct glx_context *ctx,
-                           mesa_glinterop_export_in *in,
-                           mesa_glinterop_export_out *out);
+                           struct mesa_glinterop_export_in *in,
+                           struct mesa_glinterop_export_out *out);
 
 #ifdef __cplusplus
 }
 #endif
+
+#endif