$NetBSD: patch-ab,v 1.1 2006/07/29 04:35:02 minskim Exp $

--- dsimple.c.orig	1995-10-18 23:59:17.000000000 +0000
+++ dsimple.c
@@ -5,6 +5,7 @@
 #include <X11/Xutil.h>
 #include <X11/cursorfont.h>
 #include <stdio.h>
+#include <stdlib.h>
 /*
  * Other_stuff.h: Definitions of routines in other_stuff.
  *
@@ -46,7 +47,7 @@ extern int screen;
 char *Malloc(size)
      unsigned size;
 {
-	char *data, *malloc();
+	char *data;
 
 	if (!(data = malloc(size)))
 	  Fatal_Error("Out of memory!");
@@ -62,7 +63,7 @@ char *Realloc(ptr, size)
         char *ptr;
         int size;
 {
-	char *new_ptr, *realloc();
+	char *new_ptr;
 
 	if (!ptr)
 	  return(Malloc(size));