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:
parent
90a4ab5eb1
commit
5cad308baa
|
@ -40,6 +40,7 @@
|
|||
#ifndef _NDBM_H_
|
||||
#define _NDBM_H_
|
||||
|
||||
#include <sys/types.h> /* For mode_t. */
|
||||
/* #include <db.h> */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue