diff options
author | Thomas Graf <tgraf@suug.ch> | 2014-06-02 15:03:43 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2014-06-02 15:03:43 +0200 |
commit | ee347743aedda321f5e0c24664d67e198ed70af8 (patch) | |
tree | bdb06efde359947e3e24a0d3bcda3b5279b1a39d /include/bmon/list.h | |
parent | deb1cd2aba61791a6dcb11679e867f0abb477eb4 (diff) | |
parent | ee98b9ea304744766e22ccc10899dadf71a361b8 (diff) |
Merge branch 'macosx'
Diffstat (limited to 'include/bmon/list.h')
-rw-r--r-- | include/bmon/list.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/bmon/list.h b/include/bmon/list.h index c7569d7..fff9409 100644 --- a/include/bmon/list.h +++ b/include/bmon/list.h @@ -8,6 +8,14 @@ #ifndef BMON_LIST_H_ #define BMON_LIST_H_ +#ifdef __APPLE__ +/* Apple systems define these macros in system headers, so we undef + * them prior to inclusion of this file */ +#undef LIST_HEAD +#undef LIST_HEAD_INIT +#undef INIT_LIST_HEAD +#endif + struct list_head { struct list_head * next; |