$NetBSD: patch-aa,v 1.9 2007/08/05 17:16:29 joerg Exp $

--- vvp/decoder.cc.orig	2007-08-05 16:42:39.000000000 +0000
+++ vvp/decoder.cc
@@ -22,7 +22,9 @@
 # include  "functor.h"
 # include  "symbols.h"
 # include  <stdlib.h>
+#ifdef HAVE_MALLOC_H
 # include  <malloc.h>
+#endif
 # include  <limits.h>
 # include  <assert.h>
 
