0004-configure-rlim_t.patch 591 B

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