Commit 0a7d6039 authored by Dave Love's avatar Dave Love
Browse files

Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H.

parent bcdec28b
......@@ -37,9 +37,13 @@ extern int etext, __data_start; weak_extern (__data_start)
#else /* not _LIBC */
#if defined (__osf__) && (defined (__mips) || defined (mips) || defined(__alpha))
#include <sys/time.h>
#include <sys/resource.h>
#ifdef HAVE_SYS_RESOURCE_H
# include <sys/time.h>
# include <sys/resource.h>
#else
# if HAVE_SYS_VLIMIT_H
# include <sys/vlimit.h> /* Obsolete, says glibc */
# endif
#endif
#ifdef __bsdi__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment