--- a/src/builtin.c.orig 2022-10-14 21:06:52.000000000 -0400 +++ b/src/builtin.c 2022-10-14 21:07:26.000000000 -0400 @@ -43,6 +43,8 @@ #include "jv_unicode.h" #include "jv_alloc.h" +// https://github.com/stedolan/jq/issues/1936 +char lgamma_r (); static jv type_error(jv bad, const char* msg) { char errbuf[15];