| Summary: | Build fixes for musl libc | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Maarten ter Huurne <maarten> | ||||
| Component: | Miscellaneous | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | djm | ||||
| Priority: | P5 | ||||||
| Version: | 6.6p1 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2266 | ||||||
| Attachments: |
|
||||||
Fixed - thanks. This will be in OpenSSH 6.8. commit 48b68ce19ca42fa488960028048dec023f7899bb Author: djm@openbsd.org <djm@openbsd.org> Date: Thu Dec 11 08:20:09 2014 +0000 upstream commit explicitly include sys/param.h in files that use the howmany() macro; from portable openssh-6.8 is released |
Created attachment 2472 [details] Add #include <sys/param.h> in source files using "howmany" When compiling with musl libc, the configure script finds the presence of the "howmany" macro, which musl defines in <sys/param.h>. However, only some of the sources using "howmany" actually include that header. Attached is a patch to add the necessary #includes.