summaryrefslogtreecommitdiff
path: root/src/bin/psql/psql.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/psql.c')
-rw-r--r--src/bin/psql/psql.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/psql.c b/src/bin/psql/psql.c
index 8df0998c3e0..0c6e19e65be 100644
--- a/src/bin/psql/psql.c
+++ b/src/bin/psql/psql.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.52 1997/01/25 22:16:36 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.53 1997/01/25 22:51:56 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -35,12 +35,12 @@
#else
# ifdef HAVE_READLINE_H
# include <readline.h>
-# ifndef NO_HISTORY
+# if defined(HAVE_HISTORY) || defined(HAVE_LIBHISTORY)
# include <history.h>
# endif
# else
# include <readline/readline.h>
-# ifndef NO_HISTORY
+# if defined(HAVE_HISTORY) || defined(HAVE_LIBHISTORY)
# include <readline/history.h>
# endif
# endif