Subject: install/23115: linux and tools/compat/db.h both #define __BIT_TYPES_DEFINED__
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/09/2003 23:18:53
>Number:         23115
>Category:       install
>Synopsis:       linux <types.h> and tools/compat/db.h both #define __BIT_TYPES_DEFINED__
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 09 23:19:00 UTC 2003
>Originator:     j paulson
>Release:        -current
slackware linux 2.4.21 i386
Both linux's <types.h> and tools/compat/db.h #define 
the same name, but with different bodies.
USETOOLS=yes ./ -U -j3 -m i386 -O /usr/src/netbsd-obj tools kernel=GENERIC.MP
Index: tools/compat/db.h
RCS file: /cvsroot/src/tools/compat/db.h,v
retrieving revision 1.2
diff -r1.2 db.h
> #ifndef __BIT_TYPES_DEFINED__
> #endif

or, better, don't use the build-host's <types.h> file.