Closed githububub closed 7 years ago
thanks for your report. does this patch fix the build for you ?
diff --git a/infocmp/infocmp.c b/infocmp/infocmp.c
index 909e0cd..c9532e1 100644
--- a/infocmp/infocmp.c
+++ b/infocmp/infocmp.c
@@ -27,6 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <netbsd_sys/emalloc.h>
#include <netbsd_sys/cdefs.h>
#include <sys/ioctl.h>
@@ -39,7 +40,6 @@
#include <term_private.h>
#include <term.h>
#include <unistd.h>
-#include <netbsd_sys/emalloc.h>
#define SW 8
@githububub due to lack of feedback i just commited the fix and hope that it indeed solves the issue with your toolchain.
Buildlog based on master (commit ab92743): http://pastebin.com/nKjzFAZG Same build error with v0.1.0. Successfully rebuilt 0.0.4 with MB_LEN_MAX patch on same system.