Subject: Re: cross compile on solaris fails using SunStudio Compiler
To: None <>
From: Alan Barrett <>
List: current-users
Date: 09/06/2006 23:32:59
On Wed, 06 Sep 2006, Kurt Schreiner wrote:
> > Where does sys/cdefs.h come from?
> > Surely it is not supposed to be empty?
> Hm, I really have no idea. But there are more empty header files -
> without negative effects on cross compiling AFAICS. So maybe it's
> (supposed to be) ok?

src/tools/compat creates empty header files.

src/tools/compat/compat_defs.h seems to be the right place to add
a definition for __inline.  Add it at the end of the section
labeled "Some things usually in BSD <sys/cdefs.h>."

--apb (Alan Barrett)