summaryrefslogtreecommitdiff
path: root/src/bin/psql/psql.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-08-17 00:48:51 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-08-17 00:48:51 +0000
commit9d90de5de70d284966826d50c14a7abe46e37820 (patch)
treecab3cb4ae6e8de03888f7c3a89c8e51adac3d4fe /src/bin/psql/psql.c
parent5410203949995c7329d1bdf2f8acfd94baf0d243 (diff)
Changes so that it actually checks for <readline/history.h>, instead
of assuming it does exist
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 98742dc93a3..e8ef0092292 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.81 1997/08/03 02:37:58 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.82 1997/08/17 00:48:45 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -37,12 +37,12 @@
#ifdef HAVE_LIBREADLINE
# ifdef HAVE_READLINE_H
# include <readline.h>
-# if defined(HAVE_HISTORY) || defined(HAVE_LIBHISTORY)
+# if defined(HAVE_HISTORY)
# include <history.h>
# endif
# else
# include <readline/readline.h>
-# if defined(HAVE_HISTORY) || defined(HAVE_LIBHISTORY)
+# if defined(HAVE_READLINE_HISTORY_H)
# include <readline/history.h>
# endif
# endif