$NetBSD: patch-ad,v 1.2 2000/10/15 07:39:44 wulf Exp $ 

--- src/audio/SDL_audiomem.c.orig	Sun Sep 24 12:37:32 2000
+++ src/audio/SDL_audiomem.c	Mon Oct  2 13:25:47 2000
@@ -34,6 +34,7 @@
 #include <sys/ipc.h>
 #include <sys/shm.h>
 #include <stddef.h>
+#include <stdlib.h>
 #else
 #include <stdlib.h>
 #endif
