diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/alloca.h | 1 | ||||
-rw-r--r-- | stdlib/atexit.c | 2 | ||||
-rw-r--r-- | stdlib/exit.h | 1 | ||||
-rw-r--r-- | stdlib/fmtmsg.c | 2 | ||||
-rw-r--r-- | stdlib/fmtmsg.h | 2 | ||||
-rw-r--r-- | stdlib/monetary.h | 2 | ||||
-rw-r--r-- | stdlib/random.c | 2 | ||||
-rw-r--r-- | stdlib/stdlib.h | 2 |
8 files changed, 8 insertions, 6 deletions
diff --git a/stdlib/alloca.h b/stdlib/alloca.h index 07e794c..4859942 100644 --- a/stdlib/alloca.h +++ b/stdlib/alloca.h @@ -18,6 +18,7 @@ #ifndef _ALLOCA_H #define _ALLOCA_H 1 + #include <features.h> #define __need_size_t diff --git a/stdlib/atexit.c b/stdlib/atexit.c index a49f219..7205f50 100644 --- a/stdlib/atexit.c +++ b/stdlib/atexit.c @@ -16,7 +16,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <libc-lock.h> +#include <bits/libc-lock.h> #include <stdlib.h> #include "exit.h" diff --git a/stdlib/exit.h b/stdlib/exit.h index 27120ae..dcaa85a 100644 --- a/stdlib/exit.h +++ b/stdlib/exit.h @@ -17,6 +17,7 @@ Boston, MA 02111-1307, USA. */ #ifndef _EXIT_H +#define _EXIT_H 1 struct exit_function { diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c index 9ce492b..cbe4291 100644 --- a/stdlib/fmtmsg.c +++ b/stdlib/fmtmsg.c @@ -18,7 +18,7 @@ Boston, MA 02111-1307, USA. */ #include <fmtmsg.h> -#include <libc-lock.h> +#include <bits/libc-lock.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/stdlib/fmtmsg.h b/stdlib/fmtmsg.h index 5b477a2..b87644f 100644 --- a/stdlib/fmtmsg.h +++ b/stdlib/fmtmsg.h @@ -18,8 +18,8 @@ Boston, MA 02111-1307, USA. */ #ifndef __FMTMSG_H - #define __FMTMSG_H 1 + #include <features.h> #define __need_NULL diff --git a/stdlib/monetary.h b/stdlib/monetary.h index 17edea5..aa9aa63 100644 --- a/stdlib/monetary.h +++ b/stdlib/monetary.h @@ -18,8 +18,8 @@ Boston, MA 02111-1307, USA. */ #ifndef _MONETARY_H - #define _MONETARY_H 1 + #include <features.h> /* Get needed types. */ diff --git a/stdlib/random.c b/stdlib/random.c index 370a610..e2f40c1 100644 --- a/stdlib/random.c +++ b/stdlib/random.c @@ -22,7 +22,7 @@ * Rewritten to use reentrant functions by Ulrich Drepper, 1995. */ -#include <libc-lock.h> +#include <bits/libc-lock.h> #include <limits.h> #include <stddef.h> #include <stdlib.h> diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 40c24eb..7963cb6 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -21,8 +21,8 @@ */ #ifndef _STDLIB_H - #define _STDLIB_H 1 + #include <features.h> /* Get size_t, wchar_t and NULL from <stddef.h>. */ |