cef8cea
diff --git a/includes.h b/includes.h
cef8cea
index 2e5667a..f9223fc 100644
cef8cea
--- a/includes.h
cef8cea
+++ b/includes.h
cef8cea
@@ -106,7 +106,7 @@ George Gesslein II, P.O. Box 224, Lansing, NY  14882-0224  USA.
cef8cea
 #include <readline/history.h>
cef8cea
 #endif
cef8cea
 #if	EDITLINE	/* Editline is a stripped down version of readline. */
cef8cea
-#include <editline.h>
cef8cea
+#include <editline/readline.h>
cef8cea
 #endif
cef8cea
 
cef8cea
 /* Include files from the current directory: */
cef8cea
diff --git a/makefile b/makefile
cef8cea
index 9e82c15..0d74d10 100644
cef8cea
--- a/makefile
cef8cea
+++ b/makefile
cef8cea
@@ -77,7 +77,7 @@ CFLAGS		+= $(READLINE:1=-DREADLINE)
cef8cea
 LDLIBS		+= $(READLINE:1=-lreadline) # Add -lncurses if needed for readline, might be called "curses" on some systems.
cef8cea
 # Run "make EDITLINE=1" to include the optional editline editing and history support (smaller than readline):
cef8cea
 CFLAGS		+= $(EDITLINE:1=-DEDITLINE)
cef8cea
-LDLIBS		+= $(EDITLINE:1=-leditline)
cef8cea
+LDLIBS		+= $(EDITLINE:1=-ledit)
cef8cea
 
cef8cea
 # Uncomment the following line to force generation of x86-64-bit code:
cef8cea
 #CFLAGS		+= -m64