diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-27 00:46:50 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-27 00:46:59 +0900 |
commit | baf37a5f9c34b660fdb0eb3f899df1303365c723 (patch) | |
tree | f062c53b7fa939d603ff5402fcf4ff74b567dc32 | |
parent | 7bf44e9222dfe270ecfefad2b0cb6235732d50a9 (diff) |
Get rid of LIST_HEAD conflict with a system header on macOS
-rw-r--r-- | vm_dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ # ifdef __LP64__ # define vm_region_recurse vm_region_recurse_64 # endif +/* that is defined in sys/queue.h, and conflicts with + * ccan/list/list.h */ +# undef LIST_HEAD #endif #include "addr2line.h" |