mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
ruby: Include "guestfs-internal-frontend.h" in extension.
Also undefine '_' symbol defined by Ruby's internal headers.
This fixes commit ec3b75e5ff.
This commit is contained in:
@@ -46,7 +46,13 @@ let rec generate_ruby_c () =
|
||||
#include <ruby.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
/* ruby/defines.h defines '_'. */
|
||||
#ifdef _
|
||||
#undef _
|
||||
#endif
|
||||
|
||||
#include \"guestfs.h\"
|
||||
#include \"guestfs-internal-frontend.h\"
|
||||
|
||||
#include \"extconf.h\"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user