i965: add extern C notation in headers
[mesa.git] / src / mesa / drivers / dri / i965 / intel_tex_obj.h
index 844aad1ab3083e310d3878578b5c11e897573038..27c18b7c3ceeb12565c7fffbdd51d48305aec640 100644 (file)
@@ -28,6 +28,9 @@
 
 #include "swrast/s_context.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 struct intel_texture_object
 {
@@ -90,4 +93,8 @@ intel_texture_image(struct gl_texture_image *img)
    return (struct intel_texture_image *) img;
 }
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _INTEL_TEX_OBJ_H */