From: Richard Henderson <rth@dot.cygnus.com>
Subject: Re: messy include files - pid_t undefined?
Date: Sat, 27 Sep 1997 21:16:49 -0700 (PDT) [thread overview]
Message-ID: <199709280416.VAA25487@dot.cygnus.com> (raw)
In-Reply-To: <199709241509.LAA15324@headwall.maine.com>
> My interpretation of gnu, gcc and glibc faqs is that user apps should never
> call include/linux tree, and that where a gnu/something.h exists, you should
> use that instead of something else, ie use gnu/types.h instead of sys/types.h.
Correct about not using anything from <linux/*.h>. But
<sys/types.h> is in fact the correct one to use.
We got rid of (moved) <gnu/types.h> for glibc 2.1 to clear up
this confusion. All of the private, do-not-touch, libc internal
only files now reside in <bits/*.h>, and all bear a legend and/or
#error message reminding the user of this fact.
> FWIW 2, my powerpc linux box seems to have much cleaner headers
> and I was thinking I'd try to reconstruct based on the dependancies
> there.
You're probably using glibc 2.0 or even 2.1 there, no?
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1997-09-28 4:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199709241509.LAA15324@headwall.maine.com>
1997-09-28 4:16 ` Richard Henderson [this message]
[not found] <199709241305.PAA04758@blinky.bfr.co.il>
1997-09-28 4:02 ` messy include files - pid_t undefined? Richard Henderson
1997-09-24 13:19 Ronny Ranerup
1997-09-24 13:31 ` Tom Browder
1997-09-24 15:09 ` Christopher F. Miller
1997-09-28 4:10 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1997-09-24 13:05 Harvey J. Stein
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox