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