This makes pnet work with libjit on NetBSD.
+2008-08-07 Klaus Treichel <ktreichel@web.de>
+
+ * jit/jit-apply.c jit/jit-insn.c, jit/jit-interp.c,
+ tools/gen-apply.c: Include stdlib.h if available to pick up the
+ declaration of alloca on NetBSD.
+
2008-07-26 Klaus Treichel <ktreichel@web.de>
* jit/jit-rules-x86-64.c (xmm_cmp_reg_imm, xmm_cmp_setcc_reg_imm,
#include "jit-apply-rules.h"
#include "jit-apply-func.h"
#include "jit-cache.h"
+#if HAVE_STDLIB_H
+ #include <stdlib.h>
+#endif
#if HAVE_ALLOCA_H
#include <alloca.h>
#endif
#include "jit-rules.h"
#include "jit-setjmp.h"
#include <config.h>
+#if HAVE_STDLIB_H
+ #include <stdlib.h>
+#endif
#if HAVE_ALLOCA_H
#include <alloca.h>
#endif
#include "jit-rules.h"
#include "jit-memory.h"
#include <config.h>
+#if HAVE_STDLIB_H
+ #include <stdlib.h>
+#endif
#if HAVE_ALLOCA_H
#include <alloca.h>
#endif
#include "jit-apply-func.h"
#include <stdio.h>
#include <config.h>
+#if HAVE_STDLIB_H
+ #include <stdlib.h>
+#endif
#if HAVE_ALLOCA_H
#include <alloca.h>
#endif