public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] cygwin: include sys/types.h in sys/xattr.h
Date: Fri, 03 Jun 2016 16:20:00 -0000	[thread overview]
Message-ID: <20160603162057.31085.qmail@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f4edc7fd6d2cf696bfa083c20e5fdd632a47d71f

commit f4edc7fd6d2cf696bfa083c20e5fdd632a47d71f
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Fri Jun 3 03:34:11 2016 -0500

    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>

Diff:
---
 winsup/cygwin/include/sys/xattr.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/winsup/cygwin/include/sys/xattr.h b/winsup/cygwin/include/sys/xattr.h
index 1f32392..902bb86 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 */


                 reply	other threads:[~2016-06-03 16:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160603162057.31085.qmail@sourceware.org \
    --to=yselkowitz@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).