cygwin: include sys/types.h in sys/xattr.h

Using libattr's <xattr/xattr.h> requires consumers to explicitly include
<sys/types.h> first, but glibc's header in sys/ already contains the include.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Yaakov Selkowitz 2016-06-03 03:34:11 -05:00
parent b0b99e39dc
commit f4edc7fd6d
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ details. */
#ifndef _SYS_XATTR_H
#define _SYS_XATTR_H
#include <sys/types.h>
#include <attr/xattr.h>
#endif /* _SYS_XATTR_H */