Index: client.c
--- client.c.orig
+++ client.c
@@ -45,7 +45,8 @@
 #include "util.h"
 
 #ifdef FEAT_READLINE
-#include <editline/readline.h>
+#include <readline/readline.h>
+#include <readline/history.h>
 #endif
 
 #define MAX_UNIX_SOCKET_LENGTH (sizeof ((struct sockaddr_un *)NULL)->sun_path)
