From cebb882bbb82549f1798b8fc4b37d76be90a869b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 1 Jun 2012 17:25:22 +0000 Subject: link against system libraries for newt & slang too (from mdv) --- mdk-stage1/newt-frontend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdk-stage1/newt-frontend.c') diff --git a/mdk-stage1/newt-frontend.c b/mdk-stage1/newt-frontend.c index e8a6ef6d3..6bdded9d3 100644 --- a/mdk-stage1/newt-frontend.c +++ b/mdk-stage1/newt-frontend.c @@ -32,7 +32,7 @@ #include #include #include -#include "newt/newt.h" +#include #include @@ -299,7 +299,7 @@ static int mynewtWinEntries(char * title, char * text, int suggestedWidth, int f for (i = 0; i < numItems; i++) { newtComponent entr = newtEntry(-1, -1, items[i].value ? *items[i].value : NULL, dataWidth, - items[i].value, items[i].flags); + (const char**)items[i].value, items[i].flags); newtGridSetField(subgrid, 0, i, NEWT_GRID_COMPONENT, newtLabel(-1, -1, items[i].text), -- cgit v1.2.1