pkgsrc/emulators/qemu/patches/patch-ap
2006-01-01 19:12:54 +00:00

18 lines
487 B
Text

$NetBSD: patch-ap,v 1.5 2006/01/01 19:12:54 hubertf Exp $
--- target-sparc/cpu.h.orig 2005-12-19 23:51:53.000000000 +0100
+++ target-sparc/cpu.h
@@ -269,8 +269,13 @@ void cpu_set_cwp(CPUSPARCState *env1, in
} while (0)
#endif
+#ifdef __NetBSD__
+union siginfo;
+int cpu_sparc_signal_handler(int hostsignum, union siginfo *info, void *puc);
+#else
struct siginfo;
int cpu_sparc_signal_handler(int hostsignum, struct siginfo *info, void *puc);
+#endif
#include "cpu-all.h"