[macruby-changes] [4834] MacRuby/trunk/include/ruby/io.h

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 26 20:35:29 PDT 2010


Revision: 4834
          http://trac.macosforge.org/projects/ruby/changeset/4834
Author:   watson1978 at gmail.com
Date:     2010-10-26 20:35:27 -0700 (Tue, 26 Oct 2010)
Log Message:
-----------
fixed the build error at CFMutableDataRef in rubygems which do not include the macruby.h

Modified Paths:
--------------
    MacRuby/trunk/include/ruby/io.h

Modified: MacRuby/trunk/include/ruby/io.h
===================================================================
--- MacRuby/trunk/include/ruby/io.h	2010-10-27 00:13:20 UTC (rev 4833)
+++ MacRuby/trunk/include/ruby/io.h	2010-10-27 03:35:27 UTC (rev 4834)
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <spawn.h>
 #include <fcntl.h>
+#include <CoreFoundation/CoreFoundation.h>
 #include "ruby/encoding.h"
 
 typedef struct rb_io_t {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101026/c3785400/attachment.html>


More information about the macruby-changes mailing list