forked from Mirrors/freeswitch
c5c13c2668
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5044 d0543943-73ff-0310-b7d9-9358b9ac24b2
31 lines
661 B
Diff
31 lines
661 B
Diff
--- export/src/term.c 2007-03-02 22:26:59.000000000 +0100
|
|
+++ ../src/term.c 2007-03-02 22:38:45.000000000 +0100
|
|
@@ -51,19 +51,18 @@
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
-#ifdef HAVE_TERMCAP_H
|
|
-#include <termcap.h>
|
|
-#endif
|
|
+
|
|
#ifdef HAVE_CURSES_H
|
|
-#include <curses.h>
|
|
-#endif
|
|
-#ifdef HAVE_NCURSES_H
|
|
-#include <ncurses.h>
|
|
+# include <curses.h>
|
|
+#elif HAVE_NCURSES_H
|
|
+# include <ncurses.h>
|
|
#endif
|
|
+
|
|
/* Solaris's term.h does horrid things. */
|
|
-#if (defined(HAVE_TERM_H) && !defined(SUNOS))
|
|
-#include <term.h>
|
|
+#if (defined(HAVE_TERM_H) && !defined(_SUNOS))
|
|
+# include <term.h>
|
|
#endif
|
|
+
|
|
#include <sys/types.h>
|
|
#include <sys/ioctl.h>
|
|
|