mesa: fix some minor texstore comments
[mesa.git] / src / mesa / main / simple_list.h
index ff7f88823827f196ca3ce1a4f1cb0599c35d0320..9417108a07f9dc1a8f5db37a1d99170c1fc55e50 100644 (file)
 #ifndef _SIMPLE_LIST_H
 #define _SIMPLE_LIST_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct simple_node {
    struct simple_node *next;
    struct simple_node *prev;
@@ -199,4 +203,8 @@ do {                                                \
 #define foreach_s(ptr, t, list)   \
         for(ptr=(list)->next,t=(ptr)->next; list != ptr; ptr=t, t=(t)->next)
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif