summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-06-03 03:34:11 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2016-06-03 03:34:11 -0500
commitf4edc7fd6d2cf696bfa083c20e5fdd632a47d71f (patch)
tree2f11a7a19acedb9fe8ff8c31e135357869b52c58
parentb0b99e39dcea99349286cebf9a2851c0109a0393 (diff)
downloadcygnal-f4edc7fd6d2cf696bfa083c20e5fdd632a47d71f.tar.gz
cygnal-f4edc7fd6d2cf696bfa083c20e5fdd632a47d71f.tar.bz2
cygnal-f4edc7fd6d2cf696bfa083c20e5fdd632a47d71f.zip
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>
-rw-r--r--winsup/cygwin/include/sys/xattr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/xattr.h b/winsup/cygwin/include/sys/xattr.h
index 1f3239238..902bb86c8 100644
--- a/winsup/cygwin/include/sys/xattr.h
+++ b/winsup/cygwin/include/sys/xattr.h
@@ -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 */