fixed ruby.h includes

This commit is contained in:
Marty Plummer 2014-06-06 04:00:59 -05:00
parent ba403a67ad
commit ce74031dc6
2 changed files with 6 additions and 5 deletions

View File

@ -26,8 +26,9 @@
#include "filesystem.h" #include "filesystem.h"
#include "util.h" #include "util.h"
#include "debugwriter.h" #include "debugwriter.h"
extern "C" {
#include <ruby.h> #include <ruby.h>
}
#include <ruby/encoding.h> #include <ruby/encoding.h>
#include <string> #include <string>

View File

@ -21,9 +21,9 @@
#ifndef BINDING_UTIL_H #ifndef BINDING_UTIL_H
#define BINDING_UTIL_H #define BINDING_UTIL_H
extern "C" {
#include <ruby.h> #include <ruby.h>
}
#include "exception.h" #include "exception.h"
enum RbException enum RbException