Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2022-05-04 20:03:04 +0300
committerJeff Johnston <jjohnstn@redhat.com>2022-05-04 20:08:10 +0300
commit5cad308baa2edb82cdf5b46bfae369c8b6a0a846 (patch)
tree0f894ae3435365d629191adce122f19fcd5b4f37
parent90a4ab5eb16a7b3c5451f07d6a4972cb4cbd3dd3 (diff)
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>
-rw-r--r--newlib/libc/include/ndbm.h1
1 files changed, 1 insertions, 0 deletions
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 <sys/types.h> /* For mode_t. */
/* #include <db.h> */
/*