aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan D2010-08-06 19:38:01 +0200
committerJan D2010-08-06 19:38:01 +0200
commit8646d999c5360d8f627542c619bd7ccfe52b6066 (patch)
tree9f02463782b744d22a23d49c9e6caf78a2315961 /src
parent33dd480f04ffb1439b17a9dac34d5e2ccd4cdbc9 (diff)
downloademacs-8646d999c5360d8f627542c619bd7ccfe52b6066.tar.gz
emacs-8646d999c5360d8f627542c619bd7ccfe52b6066.zip
* src/sysdep.c: Move include term.h last of includes (Bug#6812).
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/sysdep.c9
2 files changed, 10 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 48968c0a97f..30b73ffdf4f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12010-08-06 Jan Djärv <jan.h.d@swipnet.se>
2
3 * sysdep.c: Move include term.h last of includes (Bug#6812).
4
12010-08-06 Eli Zaretskii <eliz@gnu.org> 52010-08-06 Eli Zaretskii <eliz@gnu.org>
2 6
3 * dispnew.c (realloc_glyph_pool): Zero out newly allocated glyphs. 7 * dispnew.c (realloc_glyph_pool): Zero out newly allocated glyphs.
diff --git a/src/sysdep.c b/src/sysdep.c
index 678f4a6faea..6e5adc8ec87 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -33,9 +33,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
33#ifdef HAVE_UNISTD_H 33#ifdef HAVE_UNISTD_H
34#include <unistd.h> 34#include <unistd.h>
35#endif 35#endif
36#ifdef HAVE_TERM_H
37#include <term.h>
38#endif
39 36
40#include "lisp.h" 37#include "lisp.h"
41/* Including stdlib.h isn't necessarily enough to get srandom 38/* Including stdlib.h isn't necessarily enough to get srandom
@@ -110,6 +107,12 @@ extern int quit_char;
110#include "dispextern.h" 107#include "dispextern.h"
111#include "process.h" 108#include "process.h"
112#include "cm.h" /* for reset_sys_modes */ 109#include "cm.h" /* for reset_sys_modes */
110#ifdef HAVE_TERM_H
111/* Include this last. If it is ncurses header file, it adds a lot of
112 defines that interfere with stuff in other headers. Someone responsible
113 for ncurses messed up bigtime. See bug#6812. */
114#include <term.h>
115#endif
113 116
114/* For serial_configure and serial_open. */ 117/* For serial_configure and serial_open. */
115extern Lisp_Object QCport, QCspeed, QCprocess; 118extern Lisp_Object QCport, QCspeed, QCprocess;