$NetBSD: patch-bi,v 1.2 2002/08/25 19:23:38 jlam Exp $

--- khotkeys/khotkeys/main.cpp.orig	Tue Feb 12 14:32:08 2002
+++ khotkeys/khotkeys/main.cpp
@@ -29,7 +29,9 @@
 int khotkeys_screen_number = 0;
 
 
-int main( int argc, char** argv )
+extern "C" int kdemain( int, char**);
+
+int kdemain( int argc, char** argv )
 {                             // no need to i18n these, no GUI
     {
 	// multiheaded hotkeys
