summaryrefslogtreecommitdiff
path: root/src/history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.c')
-rw-r--r--src/history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/history.c b/src/history.c
index fd3e424..a96c296 100644
--- a/src/history.c
+++ b/src/history.c
@@ -4,7 +4,7 @@
#include "ratpoison.h"
-#ifdef HAVE_READLINE_HISTORY_H
+#ifdef HAVE_HISTORY
#include "readline/history.h"
@@ -129,4 +129,4 @@ int history_expand_line (char *string, char **output)
return history_expand (string, output);
}
-#endif /* HAVE_READLINE_HISTORY_H */
+#endif /* HAVE_HISTORY */