fix build regression in sysconf for archs with variable page size

commit 5ce3737931 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.
This commit is contained in:
Rich Felker 2018-09-14 16:25:56 -04:00
parent 017e67ddde
commit da55d4884b

View File

@ -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)