1Have the configure script look for rlim_t in <sys/resource.h> 2 3That's where POSIX says it should be. Some libcs will include its 4definition via <sys/types.h> as well, but musl doesn't. 5 6Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> 7 8--- xinetd-2.3.15.orig/configure 2007-09-20 16:58:27.000000000 +0200 9+++ xinetd-2.3.15/configure 2014-09-16 17:20:22.787665449 +0200 10@@ -7909,7 +7909,7 @@ 11 cat confdefs.h >>conftest.$ac_ext 12 cat >>conftest.$ac_ext <<_ACEOF 13 /* end confdefs.h. */ 14-#include <sys/types.h> 15+#include <sys/resource.h> 16 #if STDC_HEADERS 17 #include <stdlib.h> 18 #endif 19