aboutsummaryrefslogtreecommitdiffstats
path: root/vm_dump.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-27 00:46:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-27 00:46:59 +0900
commitbaf37a5f9c34b660fdb0eb3f899df1303365c723 (patch)
treef062c53b7fa939d603ff5402fcf4ff74b567dc32 /vm_dump.c
parent7bf44e9222dfe270ecfefad2b0cb6235732d50a9 (diff)
downloadruby-baf37a5f9c34b660fdb0eb3f899df1303365c723.tar.gz
Get rid of LIST_HEAD conflict with a system header on macOS
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 09051cfc32..4bc41f2131 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -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"