This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Provide sys/xattr.h


On Tue, 2011-03-29 at 09:53 +0200, Corinna Vinschen wrote:
> On Mar 29 02:43, Yaakov (Cygwin/X) wrote:
> > I see two ways to resolve this:
> > 
> > 1) Move include/attr/xattr.h to include/sys/xattr.h, and ship libattr's
> > attr/xattr.h in libattr-devel, exactly as is done on Linux:
> > 
> > 2) Install a copy of include/attr/xattr.h as <sys/xattr.h>, as in the
> > attached patch.
> 
> What about just creating a file sys/attr.h which includes attr/attr.h?

Right, that should do it as well.  I was so fixed on the Linux situation
(where you have two practically identical headers from different
sources) that I couldn't think of anything else.  I think it's time for
bed.

2011-03-29  Yaakov Selkowitz  <yselkowitz@...>

	* include/sys/xattr.h: New file.


Yaakov

/* sys/xattr.h

   Copyright 2011 Red Hat, Inc.

This file is part of Cygwin.

This software is a copyrighted work licensed under the terms of the
Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
details. */

#ifndef _SYS_XATTR_H
#define _SYS_XATTR_H

#include <attr/xattr.h>

#endif /* _SYS_XATTR_H */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]