@@ -149,7 +149,11 @@ foreign import ccall unsafe "yaml_parser_set_input_file"
149data FileStruct
149data FileStruct
150type File = Ptr FileStruct
150type File = Ptr FileStruct
153+foreign import ccall unsafe "_fdopen"
152foreign import ccall unsafe "fdopen"
155foreign import ccall unsafe "fdopen"
153 c_fdopen :: CInt
157 c_fdopen :: CInt
154 -> Ptr CChar
158 -> Ptr CChar
155 -> IO File
159 -> IO File