From: Felix Fietkau Date: Thu, 4 Oct 2012 14:11:04 +0000 (+0200) Subject: list.h: undefine LIST_HEAD to prevent conflicts on mac os x X-Git-Url: http://git.openwrt.org/?p=project%2Flibubox.git;a=commitdiff_plain;h=d6d6f11625db7d0e5e2cd61ee668e3e364ee34a7 list.h: undefine LIST_HEAD to prevent conflicts on mac os x --- diff --git a/list.h b/list.h index 8425aff..47ce33b 100644 --- a/list.h +++ b/list.h @@ -45,6 +45,7 @@ struct list_head { }; #define LIST_HEAD_INIT(name) { &(name), &(name) } +#undef LIST_HEAD #define LIST_HEAD(name) struct list_head name = LIST_HEAD_INIT(name) static inline void