about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-21 21:01:56 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-21 21:01:56 -0400
commit319df20bc9c20231d8efd810780c012cbdcfb109 (patch)
tree32093fb4420519e1c0ca8daed5b80ac2d23f2372
parent4a08c85111835c00a4c007aa3a198d9474932a97 (diff)
downloadmusl-319df20bc9c20231d8efd810780c012cbdcfb109.tar.gz
musl-319df20bc9c20231d8efd810780c012cbdcfb109.tar.xz
musl-319df20bc9c20231d8efd810780c012cbdcfb109.zip
gnu search.h has struct qelem...
-rw-r--r--include/search.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/search.h b/include/search.h
index f1246ade..3fa41adc 100644
--- a/include/search.h
+++ b/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