ruby: Disable -Wstrict-prototypes warning for Ruby headers.

This commit is contained in:
Richard W.M. Jones
2012-12-18 08:43:06 +00:00
parent 034d393bb1
commit 8be9743e74

View File

@@ -41,7 +41,10 @@ let rec generate_ruby_c () =
#include <stdlib.h>
#include <stdint.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
#include <ruby.h>
#pragma GCC diagnostic pop
#include \"guestfs.h\"