Commit 502150e5 authored by Pavel Janík's avatar Pavel Janík
Browse files

Include <sys/ioctl.h> also on systems without <soundcard.h>.

parent b56ba8de
2001-10-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* sound.c: Include <sys/ioctl.h> also on systems without
<soundcard.h>.
2001-10-15 Sam Steingold <sds@gnu.org>
* fns.c (Vafter_load_alist): Declare extern (w32 build problem).
......
......@@ -35,6 +35,10 @@ Boston, MA 02111-1307, USA. */
#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 @@ Boston, MA 02111-1307, USA. */
#include <sys/soundcard.h>
#endif
#ifdef HAVE_SOUNDCARD_H
#include <sys/ioctl.h>
#include <soundcard.h>
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment