On Mon, May 27, 2002 at 05:01:46PM +1000, Jamie Wilkinson wrote: > This one time, at band camp, henry wrote: > >one definition(as follows) is from /usr/src/linux/include/linux/types.h > > > >another definition(as follows) is from /usr/include/unistd.h > > >How could I do ? > >Could someone shed some light on it ? > > You should be using <sys/types.h>, not <linux/types.h>.
Userspace programs should never, ever use kernel includes, unless you have a good reason, and 500 shekels for your trouble. > I'm too sexy for my code. > -- Awk Sed Fred "grep, man!", sed awk. -- Daniel Stone <[EMAIL PROTECTED]> http://raging.dropbear.id.au KDE Developer <[EMAIL PROTECTED]> http://www.kde.org Kopete: Multi-protocol IM client http://www.kdedevelopers.net/kopete/
msg23831/pgp00000.pgp
Description: PGP signature