pantoniou / libfyaml

Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite.
MIT License
241 stars 74 forks source link

libfyaml doesn't build on FreeBSD #49

Closed eschnett closed 2 years ago

eschnett commented 2 years ago

libfyaml includes alloca.h, which doesn't exist on FreeBSD. Replacing alloca.h by stdlib.h seems to solve the issue. This also works on all other systems I tested (see https://github.com/JuliaPackaging/Yggdrasil/pull/4306).