diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-08-01 00:03:17 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-08-01 00:03:17 +0000 |
commit | 8515801d31a4279150f085ab2f22a7b177fa474e (patch) | |
tree | 1189ec8abc264110a6d86110dac2a27af6a42e81 | |
parent | 94d562a1102ac1ecf9a6b23f16eeac725e1c3f63 (diff) |
Include <termios.h> if available, per patch from Hidetoshi Tajima. Include
* src/pty.c: Include <termios.h> if available, per patch from Hidetoshi Tajima.
* src/trie.c: Include missing <wchar.h>, spotted by Hidetoshi Tajima.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | src/pty.c | 3 | ||||
-rw-r--r-- | src/trie.c | 1 |
4 files changed, 8 insertions, 0 deletions
@@ -1,4 +1,7 @@ 2002-07-31 nalin + * src/pty.c: Include <termios.h> if available, per patch from Hidetoshi + Tajima. + * src/trie.c: Include missing <wchar.h>, spotted by Hidetoshi Tajima. * src/vte.c: Initialize new lines created in insert_lines() to the current default attributes like al() does. 2002-07-30 nalin diff --git a/configure.in b/configure.in index f3da9b2..ad78948 100644 --- a/configure.in +++ b/configure.in @@ -35,6 +35,7 @@ AC_DEFINE(PANGO_DISABLE_DEPRECATED,1,[Disable deprecated pango features.]) AC_DEFINE(VTE_UTF8_BPC,6,[Maximum number of bytes used per UTF-8 character.]) AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE",[Package name.]) AC_CHECK_FUNCS(getpt grantpt unlockpt ptsname ptsname_r) +AC_CHECK_HEADERS(termios.h) # Double-check that the GTK libraries pulled in Xft functionality, then use # the GTK CFLAGS to find the Xft headers. @@ -28,6 +28,9 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#ifdef HAVE_TERMIOS_H +#include <termios.h> +#endif #include <glib.h> #include "debug.h" #include "pty.h" @@ -24,6 +24,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <wchar.h> #include <glib.h> #include <glib-object.h> #include "debug.h" |