rubinius/rubinius — pull request #1493 by Gibheer (2012-01-05 06:36:00+00:00)
Title: Bugfix freebsd build errors

There were some build errors on freebsd originating in fixes for solaris.

The source of the problem was alloca.h not being available on freebsd and not being included automatically in stdlib.h on solaris. To fix this I added ifdefs for solaris.

It's tested on OpenIndiana oi_151 and freebsd 8.2.