projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddd6395
)
Prefer <termcap.h> to <term.h> if both are present.
author
Chris Hanson
<org/chris-hanson/cph>
Thu, 8 Mar 2012 07:09:06 +0000
(23:09 -0800)
committer
Chris Hanson
<org/chris-hanson/cph>
Thu, 8 Mar 2012 07:09:06 +0000
(23:09 -0800)
src/microcode/tterm.c
patch
|
blob
|
history
diff --git
a/src/microcode/tterm.c
b/src/microcode/tterm.c
index ee0d9a5f4fafc5d701faddc4ec71cf67723aca65..5a5d44c14f29564a0fc296df10c3e45122db4709 100644
(file)
--- a/
src/microcode/tterm.c
+++ b/
src/microcode/tterm.c
@@
-51,10
+51,10
@@
USA.
macro expanding to a function call. WTF? Unix sucks. */
#undef ospeed
-#if defined(HAVE_TERM_H)
-# include <term.h>
-#elif defined(HAVE_TERMCAP_H)
+#if defined(HAVE_TERMCAP_H)
# include <termcap.h>
+#elif defined(HAVE_TERM_H)
+# include <term.h>
#else
extern int tgetent (char *, const char *);
extern int tgetnum (const char *);