$NetBSD: patch-ah,v 1.2 2002/08/25 19:23:51 jlam Exp $ --- dcop/dcopserver.cpp.orig Fri Jan 4 11:03:18 2002 +++ dcop/dcopserver.cpp @@ -1512,7 +1512,9 @@ "Copyright (C) 1999-2001, The KDE Developers \n" ; -int main( int argc, char* argv[] ) +extern "C" int kdemain(int, char *[]); + +int kdemain( int argc, char* argv[] ) { bool serverid = false; bool nofork = false;