diff options
-rw-r--r-- | regress/lib/libedit/readline/Makefile | 3 | ||||
-rw-r--r-- | regress/lib/libedit/readline/history.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libedit/readline/Makefile b/regress/lib/libedit/readline/Makefile index cbffb37b11e..cda2c180cf4 100644 --- a/regress/lib/libedit/readline/Makefile +++ b/regress/lib/libedit/readline/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/05/06 15:39:42 schwarze Exp $ +# $OpenBSD: Makefile,v 1.2 2016/09/06 10:33:13 schwarze Exp $ # To test /usr/src/gnu/lib/libreadline, run "make READLINE=1". # To test /usr/src/lib/libedit/readline, run just "make". @@ -9,6 +9,7 @@ PROG = history CFLAGS += -DREADLINE LDADD += -lcurses -lreadline .else +CFLAGS += -I${BSDSRCDIR}/lib/libedit LDADD += -lcurses -ledit .endif diff --git a/regress/lib/libedit/readline/history.c b/regress/lib/libedit/readline/history.c index d1c677505c0..e74c650fc3d 100644 --- a/regress/lib/libedit/readline/history.c +++ b/regress/lib/libedit/readline/history.c @@ -20,10 +20,9 @@ #include <string.h> #ifdef READLINE -#include <stdio.h> #include <readline/history.h> #else -#include <editline/readline.h> +#include <readline/readline.h> #endif |