summaryrefslogtreecommitdiff
path: root/portability/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'portability/stdlib.h')
-rw-r--r--portability/stdlib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/portability/stdlib.h b/portability/stdlib.h
new file mode 100644
index 0000000..6254c7c
--- /dev/null
+++ b/portability/stdlib.h
@@ -0,0 +1,7 @@
+#include_next <stdlib.h>
+
+#ifdef NEED_QSORT_R
+void qsort_r(void *base, size_t nmemb, size_t size,
+ int (*compar)(const void *, const void *, void *),
+ void *arg);
+#endif