Include sys/param.h if present.
Needed for howmany() on MUSL systems such as Alpine.
This commit is contained in:
parent
5a102e9cb2
commit
a4b325a3fc
|
@ -456,6 +456,7 @@ AC_CHECK_HEADERS([ \
|
|||
sys/mman.h \
|
||||
sys/label.h \
|
||||
sys/ndir.h \
|
||||
sys/param.h \
|
||||
sys/poll.h \
|
||||
sys/prctl.h \
|
||||
sys/procctl.h \
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
# include <sys/param.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SELECT_H
|
||||
# include <sys/select.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue