$OpenBSD: patch-target-sparc_cpu_h,v 1.3 2005/12/27 07:56:15 todd Exp $
--- target-sparc/cpu.h.orig	Mon Dec 19 16:51:53 2005
+++ target-sparc/cpu.h	Tue Dec 20 08:06:20 2005
@@ -269,8 +269,12 @@ void cpu_set_cwp(CPUSPARCState *env1, in
     } while (0)
 #endif
 
+#ifdef _BSD
+int cpu_sparc_signal_handler(int hostsignum, qemu_siginfo *info, void *puc);
+#else
 struct siginfo;
 int cpu_sparc_signal_handler(int hostsignum, struct siginfo *info, void *puc);
+#endif
 
 #include "cpu-all.h"
 
