$NetBSD: patch-ac,v 1.5 2001/09/24 14:28:55 rh Exp $

--- src/audio/SDL_audio.c.orig	Mon Jul 23 04:58:42 2001
+++ src/audio/SDL_audio.c
@@ -241,7 +241,7 @@
 	/* Select the proper audio driver */
 	audio = NULL;
 	idx = 0;
-#ifdef unix
+#if defined(unix) || defined (__NetBSD__)
 	if ( (driver_name == NULL) && (getenv("ESPEAKER") != NULL) ) {
 		/* Ahem, we know that if ESPEAKER is set, user probably wants
 		   to use ESD, but don't start it if it's not already running.
