diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-07-15 10:55:17 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-07-15 10:55:17 -0700 |
commit | 86a9bbb107ef5f4c8c9f460d41fb1b8962720503 (patch) | |
tree | 8cd458ed0d4f606e5c3c7ac41bb7c20737a1f9f9 | |
parent | b78a8352edbcab77d7704d2d6a232e6431fa64dc (diff) | |
download | ffi-yajl-86a9bbb107ef5f4c8c9f460d41fb1b8962720503.tar.gz |
fix uninitialized constant errorslcg/fix-uninit-constant
c extension needs stringio and date required first in order to find
those constants.
-rw-r--r-- | lib/ffi_yajl/ext.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ffi_yajl/ext.rb b/lib/ffi_yajl/ext.rb index 5cd087d..ed17e59 100644 --- a/lib/ffi_yajl/ext.rb +++ b/lib/ffi_yajl/ext.rb @@ -27,6 +27,10 @@ require 'ffi_yajl/parser' require 'ffi_yajl/ext/dlopen' require 'ffi_yajl/map_library_name' +# needed so the encoder c-code can find these symbols +require 'stringio' +require 'date' + module FFI_Yajl extend FFI_Yajl::MapLibraryName extend FFI_Yajl::Ext::Dlopen |