[openbeos] Re: suggestions: iconv.h, libiconv, and iconv

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sat, 02 Aug 2003 02:59:13 +0200 CEST

"Andrew Bachmann" <shatty@xxxxxxxxxxxxx> wrote:
> So far my most troublesome change seems to be removing OS.h from
> posix/stat.h.  This caused a problem in fs_interface.h that I fixed 
> by
> including OS.h where it seemed appropriate.  It also seems to have
> caused various problems elsewhere where uint32 and friends are
> no longer defined.  There are miscellaneous other bits of code that
> inadvertently took advantage of this include.  IMHO OS.h defines
> too many extra things to be included from a common posix header
> like stat.h.  After I get all my changes working to my satisfaction I
> will post them to the list for public comment before I commit them
> due to the broad impact that header changes has.  Feelings,
> thoughts, or opinions?

Just had a look at BeOS' stat.h - it doesn't include OS.h but <sys/
types.h> which is the better solution, I think.
Dunno why someone (presumably me) have included OS.h here, but maybe I 
had a reason - I don't see one anymore, though :)

Adios...
   Axel.


Other related posts: