diff --git a/Makefile.am b/Makefile.am index 65f09eb1a3..de6c9c190c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -139,7 +139,7 @@ endif libs/libedit/Makefile: - cd libs/libedit && ./configure --disable-shared --with-pic + cd libs/libedit && ./configure CFLAGS="-D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1" --disable-shared --with-pic libs/libedit/src/.libs/libedit.a: libs/libedit/Makefile cd libs/libedit && $(MAKE)