$NetBSD: patch-aj,v 1.3 2001/08/02 13:28:46 jlam Exp $

--- 2x2.c.orig	Sat Jul 24 00:06:22 1999
+++ 2x2.c
@@ -23,6 +23,9 @@
 #include <stdlib.h>
 #include <malloc.h>
 #include "video.h"
+#ifdef __NetBSD__
+#include <stdlib.h>
+#endif
 #include "dither.h"
 #include "proto.h"
 #include "my_dmalloc.h"
