Subject: Re: error during make
To: Milos Urbanek <urbanek@openbsd.cz>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 05/06/2003 15:42:18
> biosboot/../../../../lib/libsa/stand.h:252: conflicting types for `ioctl'
> biosboot/../../../../sys/ioctl.h:95: previous declaration of `ioctl'

ioctl should come from stand.h
One way to find out where ioctl.h is included from is to add a definition
of ioctl() to the file before it can possible be included - then gcc
will tell why in included the file.

So add:

int ioctl(int, int, char *);

to the top of stand/lib/libsa/lfsv1.c and see where ioctl.h comes from.

	David

-- 
David Laight: david@l8s.co.uk