aboutsummaryrefslogtreecommitdiffstats
path: root/include/alloca.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-29 23:01:31 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-29 23:01:31 +0200
commit841f17b59aac1c6d273f7e053243e6aaf29dc3c4 (patch)
tree8189aa40f8b26d7a22529937235cd6b95615e90c /include/alloca.h
parentadd err.h + add _SLIBC_SUPPRESS_WARNINGS (diff)
downloadslibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.gz
slibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.bz2
slibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.xz
add _PORTABLE_SOURCE
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include/alloca.h')
-rw-r--r--include/alloca.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/alloca.h b/include/alloca.h
index fe70c36..76e027f 100644
--- a/include/alloca.h
+++ b/include/alloca.h
@@ -17,6 +17,7 @@
*/
#ifndef _ALLOCA_H
#define _ALLOCA_H
+#ifndef _PORTABLE_SOURCE
#include <slibc/version.h>
@@ -48,4 +49,5 @@ void* alloca(size_t size);
#endif
+#endif