From dc0029c9463612d9fce6e19f04cf5d9aeed1b2d6 Mon Sep 17 00:00:00 2001 From: "C. Davis" Date: Tue, 10 Jul 2012 06:16:35 -0700 Subject: regedit: First crack at linking to ncurses. First attempt of editing build scripts to link to ncurses libraries. It seems to work, though checks may need to be expanded upon. Reviewed-by: Andreas Schneider Reviewed-by: Michael Adam --- source3/utils/regedit.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/utils') diff --git a/source3/utils/regedit.c b/source3/utils/regedit.c index 9c117e346e..5ae21201fb 100644 --- a/source3/utils/regedit.c +++ b/source3/utils/regedit.c @@ -22,6 +22,8 @@ #include "lib/util/data_blob.h" #include "lib/registry/registry.h" #include "regedit.h" +#include +#include int main(int argc, char **argv) { @@ -43,6 +45,9 @@ int main(int argc, char **argv) uint32_t n; WERROR rv; + initscr(); + endwin(); + frame = talloc_stackframe(); setup_logging("regedit", DEBUG_DEFAULT_STDERR); -- cgit