summaryrefslogtreecommitdiffstats
path: root/engines/e_padlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'engines/e_padlock.c')
-rw-r--r--engines/e_padlock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/e_padlock.c b/engines/e_padlock.c
index 20d458c1c1..64a13e754c 100644
--- a/engines/e_padlock.c
+++ b/engines/e_padlock.c
@@ -128,6 +128,9 @@ void ENGINE_load_padlock (void)
# ifndef alloca
# define alloca _alloca
# endif
+#elif defined(NETWARE_CLIB) && defined(__GNUC__)
+ void *alloca(size_t);
+# define alloca(s) __builtin_alloca(s)
#else
# include <stdlib.h>
#endif