Skip to content

Commit

Permalink
Require intern.h from correct location on 1.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Oct 16, 2011
1 parent b7f4846 commit 10d4535
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/ruby/optional/capi/ext/struct_spec.c
@@ -1,7 +1,13 @@
#include "ruby.h" #include "ruby.h"
#include "intern.h"
#include "rubyspec.h" #include "rubyspec.h"


#ifdef RUBY_VERSION_IS_1_9
#include "ruby/intern.h"
#else
#include "intern.h"
#endif


#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
Expand Down

0 comments on commit 10d4535

Please sign in to comment.