From 5cad308baa2edb82cdf5b46bfae369c8b6a0a846 Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Wed, 4 May 2022 20:03:04 +0300 Subject: [PATCH] Fix ndbm.c build break MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ndbm.c build broke with: Commit 357d7fcc6 In provide only necessary types The above commit exposed a latent missing-header bug: newlib/newlib/libc/include/ndbm.h:83:38: error: unknown type name ‘mode_t’ Signed-off-by: Dimitar Dimitrov --- 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_ +#include /* For mode_t. */ /* #include */ /*