Right now cute_png does not compile out-of-the-box on NetBSD and OpenBSD because they don't have alloca.h. I think alloca.h is a Linux (GNU and musl libc) quirk. With this patch cute_png seems to work perfectly (my project's 20+ tests pass) on Net- and OpenBSD. (It likely works on FreeBSD, although I have not tested. And maybe on macOS, too?)
Right now cute_png does not compile out-of-the-box on NetBSD and OpenBSD because they don't have
alloca.h
. I thinkalloca.h
is a Linux (GNU and musl libc) quirk. With this patch cute_png seems to work perfectly (my project's 20+ tests pass) on Net- and OpenBSD. (It likely works on FreeBSD, although I have not tested. And maybe on macOS, too?)