diff -rwub apt-0.5.24.orig/apt-pkg/deb/dpkgpm.cc apt-0.5.24/apt-pkg/deb/dpkgpm.cc
--- apt-pkg/deb/dpkgpm.cc	Sun Apr 18 12:28:37 2004
+++ apt-pkg/deb/dpkgpm.cc	Sun Apr 18 12:29:46 2004
@@ -436,8 +436,8 @@
          it forks scripts. What happens is that when you hit ctrl-c it sends
 	 it to all processes in the group. Since dpkg ignores the signal 
 	 it doesn't die but we do! So we must also ignore it */
-      sighandler_t old_SIGQUIT = signal(SIGQUIT,SIG_IGN);
-      sighandler_t old_SIGINT = signal(SIGINT,SIG_IGN);
+      sig_t old_SIGQUIT = signal(SIGQUIT,SIG_IGN);
+      sig_t old_SIGINT = signal(SIGINT,SIG_IGN);
 		     
       // Fork dpkg
       pid_t Child = ExecFork();
