From: "Steven T. Hatton" <hattons@globalsymmetry.com>
Date: 27. April 2004 21:46:53 MESZ
To: zeller@gnu.org
Subject: //#include <sys/resources.h> in getrlimit.h on SuSE Linux 9.0
Hi Andreas,
Just to let you know, I had to do this on SuSE 9.0 as well.
extern "C" {
// Harry Mangalam <hjm@darwin.bio.uci.edu> says he had to comment out
// the following line `on an Alpha PC164LX system running Linux kernel
// ver 2.0.33 to get it to compile (otherwise a bunch of RLIMIT errors
// stopped it).'
//#include <sys/resource.h>
#if HAVE_GETRLIMIT && !HAVE_GETRLIMIT_DECL
int getrlimit (int resource, struct rlimit *rlp);
#endif // HAVE_GETRLIMIT && !HAVE_GETRLIMIT_DECL
#if HAVE_SETRLIMIT && !HAVE_SETRLIMIT_DECL
int setrlimit (int resource, struct rlimit *rlp);
#endif // HAVE_SETRLIMIT && !HAVE_SETRLIMIT_DECL
}
#endif // HAVE_SYS_RESOURCE_H
#endif // HAVE_GETRLIMIT && HAVE_SETRLIMIT
#endif // _DDD_getrlimit_h
// DON'T ADD ANYTHING BEHIND THIS #endif
Regards,
Steven