bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: //#include <sys/resources.h> in getrlimit.h on SuSE Linux 9.0


From: Andreas Zeller
Subject: Fwd: //#include <sys/resources.h> in getrlimit.h on SuSE Linux 9.0
Date: Tue, 27 Apr 2004 23:02:22 +0200



Begin forwarded message:

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



--
Andreas Zeller Saarland University http://www.st.cs.uni-sb.de/~zeller/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]