Code

Added state retention APIs. Implemented for check_snmp with --rate option.
[nagiosplug.git] / gl / regex_internal.h
index 2cb8c4d0b7cbdf85f3ba2555f90007d72ce690a0..5aa5aa287acd5f899f2eec04a2687c50ecbecc1d 100644 (file)
@@ -467,6 +467,8 @@ static unsigned int re_string_context_at (const re_string_t *input, Idx idx,
 # else
 /* alloca is implemented with malloc, so just use malloc.  */
 #  define __libc_use_alloca(n) 0
+#  undef alloca
+#  define alloca(n) malloc (n)
 # endif
 #endif