[svn-commits] seanbright: branch seanbright/editline-update r279389 - /team/seanbright/edit...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Jul 25 11:37:44 CDT 2010


Author: seanbright
Date: Sun Jul 25 11:37:41 2010
New Revision: 279389

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=279389
Log:
Use the right path to readline.h depending on which libedit we're using.

Modified:
    team/seanbright/editline-update/main/cli.c

Modified: team/seanbright/editline-update/main/cli.c
URL: http://svnview.digium.com/svn/asterisk/team/seanbright/editline-update/main/cli.c?view=diff&rev=279389&r1=279388&r2=279389
==============================================================================
--- team/seanbright/editline-update/main/cli.c (original)
+++ team/seanbright/editline-update/main/cli.c Sun Jul 25 11:37:41 2010
@@ -35,7 +35,11 @@
 #include <regex.h>
 #include <pwd.h>
 #include <grp.h>
+#if defined(HAVE_LIBEDIT)
+#include <editline/readline.h>
+#else
 #include <readline.h>
+#endif
 
 #include "asterisk/cli.h"
 #include "asterisk/linkedlists.h"




More information about the svn-commits mailing list