aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-11-23 10:09:55 -0800
committerDan Nicolaescu2010-11-23 10:09:55 -0800
commit2e8a479790905675fea870ac73f1deebd6889eea (patch)
tree40f3a6b539828096c515636fe0a4ef254cada2ca /src
parent6e13206c036278d386b70e742355876b0340d28a (diff)
downloademacs-2e8a479790905675fea870ac73f1deebd6889eea.tar.gz
emacs-2e8a479790905675fea870ac73f1deebd6889eea.zip
Include <sys/ioctl.h> unconditionally.
* configure.in <AC_CHECK_HEADERS>: Remove sys/ioctl.h. * src/xterm.c: * src/systty.h: * src/sound.c: Include <sys/ioctl.h> unconditionally.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/config.in3
-rw-r--r--src/sound.c2
-rw-r--r--src/systty.h2
-rw-r--r--src/xterm.c2
5 files changed, 6 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d9aad77fc7c..75a141dabc6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12010-11-23 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * xterm.c:
4 * systty.h:
5 * sound.c: Include <sys/ioctl.h> unconditionally.
6
12010-11-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 72010-11-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 8
3 * alloc.c (mark_maybe_object): Return early if given a Lisp 9 * alloc.c (mark_maybe_object): Return early if given a Lisp
diff --git a/src/config.in b/src/config.in
index 7d6f052fd4d..b9e9d7c720d 100644
--- a/src/config.in
+++ b/src/config.in
@@ -663,9 +663,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
663/* Define to 1 if you have the `sysinfo' function. */ 663/* Define to 1 if you have the `sysinfo' function. */
664#undef HAVE_SYSINFO 664#undef HAVE_SYSINFO
665 665
666/* Define to 1 if you have the <sys/ioctl.h> header file. */
667#undef HAVE_SYS_IOCTL_H
668
669/* Define to 1 if you have the <sys/mman.h> header file. */ 666/* Define to 1 if you have the <sys/mman.h> header file. */
670#undef HAVE_SYS_MMAN_H 667#undef HAVE_SYS_MMAN_H
671 668
diff --git a/src/sound.c b/src/sound.c
index 3869f3a57ff..6fd23c9ad64 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -56,9 +56,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
56/* BEGIN: Non Windows Includes */ 56/* BEGIN: Non Windows Includes */
57#ifndef WINDOWSNT 57#ifndef WINDOWSNT
58 58
59#ifndef MSDOS
60#include <sys/ioctl.h> 59#include <sys/ioctl.h>
61#endif
62 60
63/* FreeBSD has machine/soundcard.h. Voxware sound driver docs mention 61/* FreeBSD has machine/soundcard.h. Voxware sound driver docs mention
64 sys/soundcard.h. So, let's try whatever's there. */ 62 sys/soundcard.h. So, let's try whatever's there. */
diff --git a/src/systty.h b/src/systty.h
index 9cecbab4f0e..59850e7c321 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -26,9 +26,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26#include <fcntl.h> 26#include <fcntl.h>
27#endif /* not DOS_NT */ 27#endif /* not DOS_NT */
28 28
29#ifdef HAVE_SYS_IOCTL_H
30#include <sys/ioctl.h> 29#include <sys/ioctl.h>
31#endif
32 30
33#ifdef HPUX 31#ifdef HPUX
34#include <sys/bsdtty.h> 32#include <sys/bsdtty.h>
diff --git a/src/xterm.c b/src/xterm.c
index ed3e5dcae45..a571d025571 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -47,9 +47,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
47#include <sys/types.h> 47#include <sys/types.h>
48#endif /* makedev */ 48#endif /* makedev */
49 49
50#ifdef HAVE_SYS_IOCTL_H
51#include <sys/ioctl.h> 50#include <sys/ioctl.h>
52#endif /* ! defined (HAVE_SYS_IOCTL_H) */
53 51
54#include "systime.h" 52#include "systime.h"
55 53