From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2134) id 4ED563857354; Wed, 4 May 2022 17:11:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4ED563857354 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jeff Johnston To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Fix ndbm.c build break X-Act-Checkin: newlib-cygwin X-Git-Author: Dimitar Dimitrov X-Git-Refname: refs/heads/master X-Git-Oldrev: 90a4ab5eb16a7b3c5451f07d6a4972cb4cbd3dd3 X-Git-Newrev: 5cad308baa2edb82cdf5b46bfae369c8b6a0a846 Message-Id: <20220504171136.4ED563857354@sourceware.org> Date: Wed, 4 May 2022 17:11:36 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2022 17:11:36 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D5cad308baa2= edb82cdf5b46bfae369c8b6a0a846 commit 5cad308baa2edb82cdf5b46bfae369c8b6a0a846 Author: Dimitar Dimitrov Date: Wed May 4 20:03:04 2022 +0300 Fix ndbm.c build break =20 The ndbm.c build broke with: Commit 357d7fcc6 In provide only necessary types =20 The above commit exposed a latent missing-header bug: newlib/newlib/libc/include/ndbm.h:83:38: error: unknown type name =E2= =80=98mode_t=E2=80=99 =20 Signed-off-by: Dimitar Dimitrov Diff: --- newlib/libc/include/ndbm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/include/ndbm.h b/newlib/libc/include/ndbm.h index c5084b9c2..1e5072cf1 100644 --- a/newlib/libc/include/ndbm.h +++ b/newlib/libc/include/ndbm.h @@ -40,6 +40,7 @@ #ifndef _NDBM_H_ #define _NDBM_H_ =20 +#include /* For mode_t. */ /* #include */ =20 /*