summaryrefslogtreecommitdiff
path: root/src/conf
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-14 16:25:56 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-14 16:25:56 -0400
commitda55d4884bf26ce31cd6a64ed176019c2ba9839a (patch)
tree0f628626a343bb78d44ebb144f2a2be4c169bc4c /src/conf
parent017e67ddde79fa2b6187a5e56b1e92bafc7c4cd2 (diff)
downloadmusl-da55d4884bf26ce31cd6a64ed176019c2ba9839a.tar.gz
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/conf')
-rw-r--r--src/conf/sysconf.c1
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)