Subject: kern/26324: fsid_t type defined in both fstypes.h and mount.h
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <steve@prismtechnologies.com>
List: netbsd-bugs
Date: 07/14/2004 12:56:11
>Number:         26324
>Category:       kern
>Synopsis:       fsid_t type defined in both fstypes.h and mount.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 14 15:21:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Steve Osselton
>Release:        2.0_BETA
>Organization:
PrismTech
>Environment:
NetBSD azathoth.prismtechnologies.com 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Wed Jul 14 09:55:29 BST 2004  root@azathoth.prismtechnologies.com:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
Some pkgsrc applications (from pkgsrc-2004Q2) will not compile off the current netbsd-2-0 branch, due to multiply defined types in fstypes.h
and mount.h eg:

fstypes.h:typedef struct { int32_t __fsid_val[2]; } fsid_t;
mount.h:typedef struct { int32_t val[2]; } fsid_t;

Note that this has already been fixed in the current CVS head, the fix
simply need pulling back into the 2.0 branch
>How-To-Repeat:
Try and build mozilla from pkgsrc-2004Q2
>Fix:
Already fixed in CVS head.
>Release-Note:
>Audit-Trail:
>Unformatted: