Revision: 3748 http://trac.macosforge.org/projects/ruby/changeset/3748 Author: eloy.de.enige@gmail.com Date: 2010-03-12 17:07:03 -0800 (Fri, 12 Mar 2010) Log Message: ----------- Make build green for us poor SL users Modified Paths: -------------- MacRuby/trunk/ext/ripper/extconf.rb MacRuby/trunk/string.c Modified: MacRuby/trunk/ext/ripper/extconf.rb =================================================================== --- MacRuby/trunk/ext/ripper/extconf.rb 2010-03-13 00:51:58 UTC (rev 3747) +++ MacRuby/trunk/ext/ripper/extconf.rb 2010-03-13 01:07:03 UTC (rev 3748) @@ -16,6 +16,7 @@ $defs << '-DRIPPER_DEBUG' if $debug $VPATH << '$(topdir)' << '$(top_srcdir)' $INCFLAGS << ' -I$(topdir) -I$(top_srcdir) -I$(top_srcdir)/onig' + $INCFLAGS << ' -I../../icu-1060' if `sw_vers -productVersion`.to_f <= 10.6 $CFLAGS << ' -std=c99' create_makefile 'ripper' end Modified: MacRuby/trunk/string.c =================================================================== --- MacRuby/trunk/string.c 2010-03-13 00:51:58 UTC (rev 3747) +++ MacRuby/trunk/string.c 2010-03-13 01:07:03 UTC (rev 3748) @@ -12,6 +12,7 @@ #include <stdio.h> #include <stdarg.h> #include <wctype.h> +#include <unistd.h> #include "ruby.h" #include "ruby/encoding.h"
participants (1)
-
source_changes@macosforge.org