Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/list.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-04 18:11:04 +0400
committerFelix Fietkau <nbd@openwrt.org>2012-10-04 18:11:04 +0400
commitd6d6f11625db7d0e5e2cd61ee668e3e364ee34a7 (patch)
treeb6764b2c345ede3bf19df3d08e3bf2379402c7a4 /list.h
parent5038992465876ba0985372b64fb451f1e4fdb8fc (diff)
list.h: undefine LIST_HEAD to prevent conflicts on mac os x
Diffstat (limited to 'list.h')
-rw-r--r--list.h1
1 files changed, 1 insertions, 0 deletions
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