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

--- ordered.c.orig	Fri Jul 23 23:53:40 1999
+++ ordered.c
@@ -24,6 +24,9 @@
 #include <malloc.h>
 #include <memory.h>
 #include "video.h"
+#ifdef __NetBSD__
+#include <stdlib.h>
+#endif
 #include "proto.h"
 #include "dither.h"
 #include "my_dmalloc.h"
