summaryrefslogtreecommitdiff
path: root/include/search.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/search.h')
-rw-r--r--include/search.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/search.h b/include/search.h
index b9c8a1785..b3b498543 100644
--- a/include/search.h
+++ b/include/search.h
@@ -34,12 +34,17 @@ For now the file can be distributed under the LGPL. */
#define __need_NULL
#include <stddef.h>
+/* Get __compar_fn_t from stdlib.h */
+#include <stdlib.h>
+
__BEGIN_DECLS
+#if 0
#ifndef __COMPAR_FN_T
#define __COMPAR_FN_T
typedef int (*__compar_fn_t) __P ((__const __ptr_t, __const __ptr_t));
#endif
+#endif
/* for use with hsearch(3) */