Subject: lib/36494: proplib/ioctl namespace problem
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 06/15/2007 10:55:00
>Number: 36494
>Category: lib
>Synopsis: proplib/ioctl namespace problem
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 15 10:55:00 +0000 2007
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 4.99.20
>Organization:
>Environment:
Architecture: i386
Machine: i386
>Description:
ioctl.h includes prop_object.h which defines TRUE/FALSE.
(via dkio.h and proplib.h)
it seems to break existing applications.
>How-To-Repeat:
try to build pkgsrc/net/dtcpclient, or the following.
--------------------------------------------
#include <sys/ioctl.h>
enum { TRUE, FALSE } boolean;
--------------------------------------------
>Fix: