Subject: Re: Cross compiling current fails
To: None <current-users@netbsd.org>
From: R. Huvendiek <netbsd@kaervek.net>
List: current-users
Date: 09/14/2005 20:51:31
Am Mittwoch, den 14.09.2005, 14:09 +0000 schrieb Matthias Scheler: 
In article <20050909153334.7c66b126.netbsd@kaervek.net>,
> 	"R. Huvendiek" <netbsd@kaervek.net> writes:
> > After fiddling around a litte bit more, I found out that dirent.h is pulled
> > in from tools/compat/compat_defs.h.
> 
> Which is what is supposed to happen.
> 
> > Maybe other architectures need the #include <dirent.h>, but on linux it
> > seems to be superfluous.
> 
> It's actually not. With your patch is only pulled later outside the
> control of the "compat framework" which works now but might cause
> problems later. I've therefore fixed the problem differently in
> revision 1.48 of "src/tools/compat/compat_defs.h". Please let us
> know whether that works for you.
> 

Thanks for you help, Matthias. I updated the compat_defs.h to you
version. I compiles nicely.

In fact I did not consider my solution anything like a hack to let it
compile. I simply do not have the needed overview to make changes like
this in a sane way :)

Bye
	Ralf