This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
conflict between bits/resource.h and Linux kernels asm/resource.h
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: conflict between bits/resource.h and Linux kernels asm/resource.h
- From: Stig Venaas <venaas at nvg dot ntnu dot no>
- Date: Wed, 26 Jul 2000 22:58:20 +0200
Hi
Recent kernels (recent 2.3/2.4) define RLIM_INFINITY in asm/resource.h
which is included by libc's bits/resource.h that also defines
RLIM_INFINITY.
I don't know which but one of them must change, an ifndef in libc's file
would fix it. This is a problem with both old glibc 2.1 and 2.1.91, and
probably others too.
Stig
--
Duct tape is like the force. It has a light side, and a dark side, and
it holds the universe together ...
-- Carl Zwanzig