[haiku-development] Re: Linux xattr.h reader.

  • From: Urias McCullough <umccullough@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 29 Aug 2009 22:12:30 -0700

On Sat, Aug 29, 2009 at 6:50 PM, Bruno G. Albuquerque<bga@xxxxxxxxxxxxx> wrote:
> 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?

Interesting...

I ran into problems on my Debian Lenny box and noticed that after sudo
apt-get install attr-dev that it found the right headers... I didn't
check to see if they were in the wrong spot prior :/

- Urias

Other related posts: