From da55d4884bf26ce31cd6a64ed176019c2ba9839a Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 14 Sep 2018 16:25:56 -0400 Subject: 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. --- src/conf/sysconf.c | 1 + 1 file changed, 1 insertion(+) 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 #include #include "syscall.h" +#include "libc.h" #define JT(x) (-256|(x)) #define VER JT(1) -- cgit v1.2.1