From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126426 invoked by alias); 6 Sep 2018 12:21:44 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 126365 invoked by uid 9078); 6 Sep 2018 12:21:44 -0000 Date: Thu, 06 Sep 2018 12:21:00 -0000 Message-ID: <20180906122144.126362.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] xdr_private.h needs sys/types.h for u_char X-Act-Checkin: newlib-cygwin X-Git-Author: Keith Packard X-Git-Refname: refs/heads/master X-Git-Oldrev: f92a4c5d2da377513f59b59290638b7a40cf38ce X-Git-Newrev: 81e0841dbc8f3da528c515ad7a07d79309ddb374 X-SW-Source: 2018-q3/txt/msg00116.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=81e0841dbc8f3da528c515ad7a07d79309ddb374 commit 81e0841dbc8f3da528c515ad7a07d79309ddb374 Author: Keith Packard Date: Wed Sep 5 21:21:16 2018 -0700 xdr_private.h needs sys/types.h for u_char u_char is defined in sys/types.h, which doesn't appear to get included, at least in my environments. Signed-off-by: Keith Packard Diff: --- newlib/libc/xdr/xdr_private.h | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/xdr/xdr_private.h b/newlib/libc/xdr/xdr_private.h index 98c9daa..dbdaaf0 100644 --- a/newlib/libc/xdr/xdr_private.h +++ b/newlib/libc/xdr/xdr_private.h @@ -27,6 +27,7 @@ #include #include #include +#include /* avoid including stdio header here */ #ifndef __VALIST