freebsd-ports/devel/valgrind-snapshot/files/patch-includes_vg_kerneliface.h
Simon Barner ff2d82068c - Fix build on 7-current by avoiding conflict in si_band macro, that
is already defined in the sys/signal.h header

Submitted by:	Niklas Sorensson <nik@cs.chalmers.se>
Prodded by:	kris via pointyhat
2006-02-15 17:42:26 +00:00

13 lines
243 B
C

--- include/vg_kerneliface.h.orig Wed Feb 15 18:39:37 2006
+++ include/vg_kerneliface.h Wed Feb 15 18:39:03 2006
@@ -177,6 +177,10 @@
#ifdef __FreeBSD__
+#ifdef si_band
+#undef si_band
+#endif
+
typedef
struct {
Int si_signo;