about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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