Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
502150e5
Commit
502150e5
authored
Oct 15, 2001
by
Pavel Janík
Browse files
Include <sys/ioctl.h> also on systems without <soundcard.h>.
parent
b56ba8de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/sound.c
src/sound.c
+4
-1
No files found.
src/ChangeLog
View file @
502150e5
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).
...
...
src/sound.c
View file @
502150e5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment