changeset 39969:21d7408e0d86

Include <sys/ioctl.h> also on systems without <soundcard.h>.
author Pavel Janík <Pavel@Janik.cz>
date Mon, 15 Oct 2001 20:44:24 +0000
parents 51a89919bc4e
children 68ccba559c4b
files src/sound.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/sound.c	Mon Oct 15 16:17:51 2001 +0000
+++ b/src/sound.c	Mon Oct 15 20:44:24 2001 +0000
@@ -35,6 +35,10 @@
 #include <signal.h>
 #include "syssignal.h"
 
+#ifndef MSDOS
+#include <sys/ioctl.h>
+#endif
+
 /* FreeBSD has machine/soundcard.h.  Voxware sound driver docs mention
    sys/soundcard.h.  So, let's try whatever's there.  */
 
@@ -45,7 +49,6 @@
 #include <sys/soundcard.h>
 #endif
 #ifdef HAVE_SOUNDCARD_H
-#include <sys/ioctl.h>
 #include <soundcard.h>
 #endif