Subject: Re: heads up: more de-__Ping
To: Perry E. Metzger <perry@piermont.com>
From: James Chacon <jmc@NetBSD.org>
List: current-users
Date: 02/07/2005 16:28:11
On Mon, Feb 07, 2005 at 04:08:53PM -0500, Perry E. Metzger wrote:
> 
> Daniel Carosone <dan@geek.com.au> writes:
> > On Mon, Feb 07, 2005 at 03:26:24PM -0500, Perry E. Metzger wrote:
> >> > I can't build audio/libao with the following error.
> >> 
> >> You might want to point that out on tech-pkg...
> >> 
> >> > /usr/include/sys/ioctl.h:91: error: conflicting types for `_oss_ioctl'
> >> > /usr/include/soundcard.h:309: error: previous declaration of `_oss_ioctl'
> >
> > Perry, both of those headers are in the base system..
> 
> Yah, but the problem is an interaction with the package.

No, it's our busted headers:

soundcard.h:

#define ioctl(x,y,z) _oss_ioctl(x,y,z)
int _oss_ioctl(int fd, unsigned long com, void *argp);

ioctl.h:

int     ioctl(int, unsigned long, ...);

They don't match..

James