From 319df20bc9c20231d8efd810780c012cbdcfb109 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 21 Sep 2011 21:01:56 -0400 Subject: gnu search.h has struct qelem... --- include/search.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/search.h') 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 -- cgit v1.2.1