diff -Nurd LiE.orig/Makefile LiE/Makefile --- LiE.orig/Makefile 2000-04-07 03:46:28.000000000 -0400 +++ LiE/Makefile 2021-05-29 05:08:24.000000000 -0400 @@ -88,7 +88,7 @@ $(CC) -ansi -c -o gapdate.o date.c Lie.exe: date.o - $(CC) -o Lie.exe $(objects) date.o static/*.o box/*.o -lreadline + $(CC) -o Lie.exe $(objects) date.o static/*.o box/*.o $(LDFLAGS) -lreadline chmod g+w Lie.exe Liegap.exe: gapdate.o $(CC) -o Liegap.exe $(GAP_objects) gapdate.o static/*.o box/*.o diff -Nurd LiE.orig/getl.c LiE/getl.c --- LiE.orig/getl.c 2000-04-07 04:24:54.000000000 -0400 +++ LiE/getl.c 2021-05-29 05:07:49.000000000 -0400 @@ -7,16 +7,7 @@ #ifdef preprocessor -/* Instead of #including files we simply state the few declarations needed. - This was needed because on some systems the included files would contain - stuff that conflicts with that in "lie.h" (notably the typedef of |index|). -*/ - -typedef int Function (void); -extern char* readline (char*); -extern void add_history (char*); -extern int rl_insert (void); -extern int rl_bind_key(int, Function*); +#include "readline/readline.h" /* A static variable for holding the line. */ static char* line_read = NULL;