$NetBSD: patch-bw,v 1.2 2006/10/19 22:57:13 bouyer Exp $ --- xenstore/list.h.orig 2006-10-16 22:51:42.000000000 +0200 +++ xenstore/list.h 2006-10-16 22:51:57.000000000 +0200 @@ -3,6 +3,10 @@ /* Taken from Linux kernel code, but de-kernelized for userspace. */ #include +#undef LIST_HEAD_INIT +#undef LIST_HEAD +#undef INIT_LIST_HEAD + /* * These are non-NULL pointers that will result in page faults * under normal circumstances, used to verify that nobody uses