summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-05-31 13:32:58 +0000
committerOndrej Filip <feela@network.cz>2004-05-31 13:32:58 +0000
commitbd62eeca27aba7da34a65a8f039d1b011115ddca (patch)
tree2b69b7158760b3f56934bb09477a9da637303ea1
parentb1a1fabac70201e9b05aeb9fd6af703f0fbffdb4 (diff)
Small change to compile client on FreeBSD.
-rw-r--r--client/client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/client.c b/client/client.c
index 424e119d..f1c73c43 100644
--- a/client/client.c
+++ b/client/client.c
@@ -127,7 +127,9 @@ void
input_start_list(void) /* Leave the currently edited line and make space for listing */
{
_rl_move_vert(_rl_vis_botlin);
+#ifdef HAVE_RL_CRLF
rl_crlf();
+#endif
}
void
@@ -155,7 +157,9 @@ input_complete(int arg, int key)
break;
default:
complete_flag = 1;
+#ifdef HAVE_RL_DING
rl_ding();
+#endif
}
return 0;
}