Fix ndbm.c build break

The ndbm.c build broke with:
  Commit 357d7fcc6
  In <stdio.h> 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 <dimitar@dinux.eu>
This commit is contained in:
Dimitar Dimitrov 2022-05-04 20:03:04 +03:00 committed by Jeff Johnston
parent 90a4ab5eb1
commit 5cad308baa
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@
#ifndef _NDBM_H_
#define _NDBM_H_
#include <sys/types.h> /* For mode_t. */
/* #include <db.h> */
/*