diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-14 16:25:56 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-14 16:25:56 -0400 |
commit | da55d4884bf26ce31cd6a64ed176019c2ba9839a (patch) | |
tree | 0f628626a343bb78d44ebb144f2a2be4c169bc4c /src | |
parent | 017e67ddde79fa2b6187a5e56b1e92bafc7c4cd2 (diff) | |
download | musl-da55d4884bf26ce31cd6a64ed176019c2ba9839a.tar.gz musl-da55d4884bf26ce31cd6a64ed176019c2ba9839a.tar.bz2 musl-da55d4884bf26ce31cd6a64ed176019c2ba9839a.tar.xz musl-da55d4884bf26ce31cd6a64ed176019c2ba9839a.zip |
fix build regression in sysconf for archs with variable page size
commit 5ce3737931bb411a8d167356d4d0287b53b0cbdc removed the inclusion
of libc.h from this file as spurious, but it's needed to get PAGE_SIZE
on archs where PAGE_SIZE is not a constant defined by limits.h.
Diffstat (limited to 'src')
-rw-r--r-- | src/conf/sysconf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf/sysconf.c b/src/conf/sysconf.c index 5199ed29..3baaed32 100644 --- a/src/conf/sysconf.c +++ b/src/conf/sysconf.c @@ -5,6 +5,7 @@ #include <signal.h> #include <sys/sysinfo.h> #include "syscall.h" +#include "libc.h" #define JT(x) (-256|(x)) #define VER JT(1) |