$OpenBSD: patch-target-sparc_cpu_h,v 1.2 2005/08/11 01:15:17 todd Exp $
--- target-sparc/cpu.h.orig	Sun Jul 24 13:52:08 2005
+++ target-sparc/cpu.h	Tue Aug  9 22:34:49 2005
@@ -284,8 +284,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"
 
