And here the replacement libedit. Fixes some problems on solaris and hopefully on OpenBSD as well :)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7502 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michal Bielicki
2008-02-03 23:43:05 +00:00
parent 8cc4b29d20
commit 16d6e9901c
92 changed files with 24765 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
--- export/src/term.c 2007-08-31 00:02:46.000000000 +0200
+++ ../src/term.c 2007-08-31 00:03:08.000000000 +0200
@@ -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>