diff options
| author | Ondřej Surý <ondrej@sury.org> | 2010-01-08 13:08:00 +0100 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2010-01-08 13:08:00 +0100 |
| commit | 176cbd0bc99e20bb21f92f0b72df728eafc1e2ce (patch) | |
| tree | 58b249aa9e26b7c5754abb2a78563eab074a950b /sapi/cli/php_cli.c | |
| parent | 10544de9849f8704aaeb54388e9795f2273202a0 (diff) | |
| download | php-176cbd0bc99e20bb21f92f0b72df728eafc1e2ce.tar.gz | |
Imported Upstream version 5.2.12.dfsg.1upstream/5.2.12.dfsg.1
Diffstat (limited to 'sapi/cli/php_cli.c')
| -rw-r--r-- | sapi/cli/php_cli.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index ba767f5d0..891c551db 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_cli.c 284649 2009-07-23 14:54:04Z jani $ */ +/* $Id: php_cli.c 292081 2009-12-13 17:06:47Z felipe $ */ #include "php.h" #include "php_globals.h" @@ -76,8 +76,11 @@ #endif #if (HAVE_LIBREADLINE || HAVE_LIBEDIT) && !defined(COMPILE_DL_READLINE) + +#if HAVE_LIBEDIT +#include <editline/readline.h> +#else #include <readline/readline.h> -#if !HAVE_LIBEDIT #include <readline/history.h> #endif #include "php_cli_readline.h" |
