This conflict needs to be fixed. It causes warnings for any
program that does #include <sys/resource.h>. It causes gcc to fail
to compile (because configure interpretes the warning messages such
that sys/resource.h doesn't exist).
My quick work-around was to move the #define RLIM_INFINITY inside
the #ifdef __KERNEL__. But considering that that the two
definitions of RLIM_INFINITY yield different values, perhaps
RLIM_INFINITY is the wrong name anyway.
(I'm not on the linux-kernel mailing list, so please cc me.
I hope this is not a duplicate; I didn't see any mention
of this problem when I ran a search.)
-- --Per Bothner per@bothner.com http://www.bothner.com/~per/- 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/