> 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/