[haiku-development] Duplicate headers?

  • From: James Leone <linuxcpa@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 29 Aug 2014 08:47:38 -0700

I noticed that some code that includes headers i.e. <*.h> wants to read the
/boot/system/develop and .../develop/posix and .../develop/bsd
directorories. Similarly, <sys/*.h> would read from both of these:
....posix/sys and .....bsd/sys.

We have 9 duplicates amongst theze directories.

How does the compiler know which one to pick?

P.s. our zlib.h is misding 3 lines of code compared to Linux' same. Same
author and pub date.

Other related posts: