[haiku-development] Linux xattr.h reader.

  • From: "Bruno G. Albuquerque" <bga@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 29 Aug 2009 22:50:39 -0300 (BRT)

I finally decided to check why I could not use xattr in my Ubuntu
installation and the problem is in the file:

src/build/libroot/fs_attr_xattr.h

This file tries to include attr/xattr.h but in Ubuntu the correct header
is actually sys/xattr.h. What would be the correct way to conditionally
set the header to be included so it works in Ubuntu without breaking other
distros?

-Bruno



Other related posts: