This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Duplicate ustat structure
- From: Andreas Schwab <schwab at suse dot de>
- To: Jeff Bailey <jbailey at raspberryginger dot com>
- Cc: carlos at systemhalted dot org, libc-ports at sources dot redhat dot com, parisc-linux at lists dot parisc-linux dot org
- Date: Sun, 16 Jul 2006 18:39:15 +0200
- Subject: Re: Duplicate ustat structure
- References: <20060716160300.GA27091@titanium.v3.ca>
Jeff Bailey <jbailey@raspberryginger.com> writes:
> The problem is that bits/ustat.h includes the definition of struct
> ustat. However, sys/types.h eventually winds up pulling in
> linux/types.h which also defines struct ustat.
<sys/types.h> should not include <linux/types.h> in the first place.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."