From b1ad6a35a605e9491b8492b5af525994d189d09e Mon Sep 17 00:00:00 2001 From: Vladislav Grishenko Date: Sat, 6 Feb 2021 15:24:29 +0500 Subject: fix build with non-portable _SC_PAGE_SIZE --- accel-pppd/triton/mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pppd/triton') diff --git a/accel-pppd/triton/mempool.c b/accel-pppd/triton/mempool.c index ac444c5..923119a 100644 --- a/accel-pppd/triton/mempool.c +++ b/accel-pppd/triton/mempool.c @@ -255,7 +255,7 @@ static void sigclean(int num) static int mmap_grow(void) { - int size = sysconf(_SC_PAGE_SIZE) * (1 << PAGE_ORDER); + int size = sysconf(_SC_PAGESIZE) * (1 << PAGE_ORDER); void *ptr; if (mmap_endptr) { -- cgit v1.2.3