From cc34e753852d7f801fd4f42358fe4270bb869deb Mon Sep 17 00:00:00 2001 From: Austin English Date: Sun, 11 Oct 2009 02:21:52 -0500 Subject: [PATCH] include: fix a compiler warning on GNU/FreeBSD. --- include/wine/list.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wine/list.h b/include/wine/list.h index b610e5e5ca9..da3ce913c00 100644 --- a/include/wine/list.h +++ b/include/wine/list.h @@ -221,9 +221,11 @@ static inline void list_move_head( struct list *dst, struct list *src ) (cursor2) = LIST_ENTRY((cursor)->field.prev, type, field)) /* macros for statically initialized lists */ +#undef LIST_INIT #define LIST_INIT(list) { &(list), &(list) } /* get pointer to object containing list element */ +#undef LIST_ENTRY #define LIST_ENTRY(elem, type, field) \ ((type *)((char *)(elem) - (unsigned long)(&((type *)0)->field)))