From d6d6f11625db7d0e5e2cd61ee668e3e364ee34a7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 4 Oct 2012 16:11:04 +0200 Subject: [PATCH 1/1] list.h: undefine LIST_HEAD to prevent conflicts on mac os x --- list.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.11.0