Browse Source

gnu search.h has struct qelem...

Rich Felker 13 years ago
parent
commit
319df20bc9
1 changed files with 7 additions and 0 deletions
  1. 7 0
      include/search.h

+ 7 - 0
include/search.h

@@ -33,6 +33,13 @@ void *tfind(const void *, void *const *, int(*)(const void *, const void *));
 void *tsearch(const void *, void **, int (*)(const void *, const void *));
 void twalk(const void *, void (*)(const void *, VISIT, int));
 
+#ifdef _GNU_SOURCE
+struct qelem {
+	struct qelem *q_forw, *q_back;
+	char q_data[1];
+};
+#endif
+
 #ifdef __cplusplus
 }
 #endif