summaryrefslogtreecommitdiff
path: root/phpdbg.h
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-06-29 11:26:03 +0200
committerBob Weinand <bobwei9@hotmail.com>2014-06-29 11:26:03 +0200
commit219beac36b9e421fd9a4920f214e9c63747eaafb (patch)
tree00419a74724c1b96fa98dea5caa5bf7c577271ea /phpdbg.h
parent858b45d4ad86a9d1ec857e20cf8c8e33c15500c0 (diff)
downloadphp-git-219beac36b9e421fd9a4920f214e9c63747eaafb.tar.gz
Fix readline/libedit (Thanks to @remicollet)
Diffstat (limited to 'phpdbg.h')
-rw-r--r--phpdbg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpdbg.h b/phpdbg.h
index 12350d5425..2fa2d5093a 100644
--- a/phpdbg.h
+++ b/phpdbg.h
@@ -68,6 +68,9 @@
# include <readline/readline.h>
# include <readline/history.h>
#endif
+#ifdef HAVE_LIBEDIT
+# include <editline/readline.h>
+#endif
#include "phpdbg_lexer.h"
#include "phpdbg_cmd.h"