$OpenBSD$

Index: lib/sort_r/sort_r.h
--- lib/sort_r/sort_r.h.orig
+++ lib/sort_r/sort_r.h
@@ -37,6 +37,7 @@ void sort_r(void *base, size_t nel, size_t width,
 #  define _SORT_R_INLINE __inline
 #else
   /* Using our own recursive quicksort sort_r_simple() */
+#  define _SORT_R_INLINE inline
 #endif
 
 #if (defined NESTED_QSORT && NESTED_QSORT == 0)
