1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Get rid of conflict in ccan/list

Undefine LIST_HEAD from BSD-origin sys/queue.h.
This commit is contained in:
Nobuyoshi Nakada 2021-07-10 17:39:25 +09:00
parent 9c2851508e
commit cb3eb3d7d5
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

2
gc.c
View file

@ -82,6 +82,8 @@
#include <emscripten.h>
#endif
#undef LIST_HEAD /* ccan/list conflicts with BSD-origin sys/queue.h. */
#include "constant.h"
#include "debug_counter.h"
#include "eval_intern.h"