$NetBSD$

--- libshade/misc.c~	1992-02-09 22:03:59.000000000 -0500
+++ libshade/misc.c	2008-09-01 02:12:18.000000000 -0400
@@ -23,6 +23,7 @@
  * Initial version.
  * 
  */
+#include <stdlib.h>
 #include "rayshade.h"
 #ifdef RUSAGE
 #include <sys/time.h>
