diff options
Diffstat (limited to 'firmware/libc/include')
-rw-r--r-- | firmware/libc/include/stdlib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/libc/include/stdlib.h b/firmware/libc/include/stdlib.h index 57553367c4..e24d6a579f 100644 --- a/firmware/libc/include/stdlib.h +++ b/firmware/libc/include/stdlib.h | |||
@@ -31,6 +31,11 @@ void free(void *); | |||
31 | void *realloc(void *, size_t); | 31 | void *realloc(void *, size_t); |
32 | int atexit(void (*)(void)); | 32 | int atexit(void (*)(void)); |
33 | 33 | ||
34 | #ifdef __GNUC__ | ||
35 | # undef alloca | ||
36 | # define alloca(size) __builtin_alloca (size) | ||
37 | #endif /* GCC. */ | ||
38 | |||
34 | #define RAND_MAX INT_MAX | 39 | #define RAND_MAX INT_MAX |
35 | 40 | ||
36 | void srand(unsigned int seed); | 41 | void srand(unsigned int seed); |