$NetBSD$

--- hexbin/buffer.c.orig	2006-06-20 22:50:39.000000000 +0000
+++ hexbin/buffer.c
@@ -3,8 +3,8 @@
 #include "buffer.h"
 #include "../fileio/wrfile.h"
 
-extern char *malloc();
-extern char *realloc();
+#include <stdlib.h>
+
 extern void exit();
 
 char *data_fork, *rsrc_fork;
