diff options
author | Remi Collet <remi@php.net> | 2014-06-23 10:04:40 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2014-06-23 10:04:40 +0200 |
commit | 86bafec836b81070547399b890c5b01897250a31 (patch) | |
tree | 36d14adfe37aa9960410ba6df5a53b5832db86c9 /sapi/phpdbg/phpdbg.h | |
parent | f08a5bfadc360cb53574bdb2f4dc32ac30636133 (diff) | |
download | php-git-86bafec836b81070547399b890c5b01897250a31.tar.gz |
Fix https://github.com/krakjoe/phpdbg/issues/91
Enable edit feature when build with libedit.
Notice: coloured prompt only enable with READLINE
Diffstat (limited to 'sapi/phpdbg/phpdbg.h')
-rw-r--r-- | sapi/phpdbg/phpdbg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.h b/sapi/phpdbg/phpdbg.h index 12350d5425..b2e7a03c21 100644 --- a/sapi/phpdbg/phpdbg.h +++ b/sapi/phpdbg/phpdbg.h @@ -64,7 +64,7 @@ # include "TSRM.h" #endif -#ifdef HAVE_LIBREADLINE +#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT) # include <readline/readline.h> # include <readline/history.h> #endif |