Some older OSes (notably FreeBSD 4.x) did not have %zu format specifier, so revert to using %d.
diff --git a/auto/types/sizeof b/auto/types/sizeof index 31411dd..e1d405c 100644 --- a/auto/types/sizeof +++ b/auto/types/sizeof
@@ -26,7 +26,7 @@ $NGX_INCLUDE_AUTO_CONFIG_H int main() { - printf("%zu", sizeof($ngx_type)); + printf("%d", (int) sizeof($ngx_type)); return 0; }