$OpenBSD: patch-tools_vmalloc_vmdebug_c,v 1.1 2004/11/27 12:10:43 sturm Exp $
--- tools/vmalloc/vmdebug.c.orig	Fri Nov 12 21:45:16 2004
+++ tools/vmalloc/vmdebug.c	Fri Nov 12 21:46:38 2004
@@ -5,6 +5,7 @@
 #include <stdint.h>
 #endif
 #ifdef HAVE_INTPTR_T
+#include <inttypes.h>
 #define INT2PTR(t,v) ((t)(intptr_t)(v))
 #else
 #define INT2PTR(t,v) ((t)(v))
