$NetBSD: patch-aj,v 1.1 2007/08/08 19:15:45 joerg Exp $

--- lib/Widgets/xwd.c.orig	2000-02-21 22:44:23.000000000 +0000
+++ lib/Widgets/xwd.c
@@ -24,7 +24,7 @@
 # include <X11/XWDFile.h>
 # include <X11/Intrinsic.h>
 # include <X11/Xaw/AsciiText.h>
-# include "malloc.h"
+# include <stdlib.h>
 # include "error.h"
 
 int Image_Size ( );
