aboutsummaryrefslogtreecommitdiff
path: root/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'stddef.h')
-rw-r--r--stddef.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/stddef.h b/stddef.h
index 89bd7b0..9965f89 100644
--- a/stddef.h
+++ b/stddef.h
@@ -12,10 +12,15 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
__GNUC__ ? */
#if !defined(__int8_t_defined) && !defined(__dietlibc__)
#define __int8_t_defined
-typedef char int8_t;
-typedef short int int16_t;
-typedef int int32_t;
+typedef char int8_t;
+typedef short int int16_t;
+typedef int int32_t;
typedef long long int int64_t;
#endif
+#ifdef __i386__
+void *_alloca(size_t);
+#define alloca _alloca
+#endif
+
#endif