Re: RLIM_INFINITY defined twice

Ralf Baechle (ralf@uni-koblenz.de)
Tue, 27 Jun 2000 14:12:23 +0200


On Thu, Jun 22, 2000 at 08:14:12PM -0500, Bob Gustafson wrote:

> The warning RLIM_INFINITY has come up before (compiling iptables I
> believe), but this time it caused the failure of a test in configure and
> the make then failed with the erronious #undef HAVE_RESOURCE_H instead of
> defining it.
>
> There are two resource.h files, one in include/bits and the other in
> include/asm. They contain two different definitions.
>
> Which one should be used?

Only the libc definitions and never the kernel definitions. With a few
exceptions applications shouldn't include any definitions from <linux/...>
or <asm/...>.

Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/