Browse Source

* f2bc : fix build without libreadline & socket poll with them

master
Alex 'AdUser' Z 4 years ago
parent
commit
739ea48520
  1. 2
      src/client.c

2
src/client.c

@ -124,7 +124,7 @@ setup_socket() {
#ifdef WITH_READLINE #ifdef WITH_READLINE
#include <readline/readline.h> #include <readline/readline.h>
#include <readline/history.h> #include <readline/history.h>
rl_event_hook = &handle_recv; rl_hook_func_t *rl_event_hook = &handle_recv;
#else #else
char * char *
readline(const char *prompt) { readline(const char *prompt) {

Loading…
Cancel
Save