$NetBSD: patch-aw,v 1.2 2002/08/25 19:23:53 jlam Exp $ --- kdeprint/management/kaddprinterwizard.cpp.orig Wed May 8 19:27:33 2002 +++ kdeprint/management/kaddprinterwizard.cpp @@ -11,7 +11,9 @@ {0, 0, 0} }; -int main(int argc, char *argv[]) +extern "C" int kdemain(int, char* []); + +int kdemain(int argc, char *argv[]) { KCmdLineArgs::init(argc, argv, "kaddprinterwizard", I18N_NOOP("Start the add printer wizard"),