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:
authorCorinna Vinschen <corinna@vinschen.de>2001-11-14 13:25:35 +0300
committerCorinna Vinschen <corinna@vinschen.de>2001-11-14 13:25:35 +0300
commitd7ca37e413e19f58aa706d8233193fb2120dc4f5 (patch)
tree7d44c06310458aeedb8f2a5b264921f79e22bf19 /newlib/libc/include/stdlib.h
parent7a90b1ef80704d6d2412c22d2b4555eee304ea54 (diff)
* libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
to here. Rearrange for general inclusion by stdlib.h. * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__ isn't defined. * libc/sys/linux/include/alloca.h: Move to libc/include.
Diffstat (limited to 'newlib/libc/include/stdlib.h')
-rw-r--r--newlib/libc/include/stdlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 3932584c7..00a9d1ab3 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -18,6 +18,10 @@ extern "C" {
#include <sys/reent.h>
+#ifndef __STRICT_ANSI__
+#include <alloca.h>
+#endif
+
typedef struct
{
int quot; /* quotient */