From ca5449d7091ec724e270b77f5be21e189fa94314 Mon Sep 17 00:00:00 2001 From: Bertrand Drouvot Date: Wed, 26 Feb 2025 15:22:54 +0000 Subject: [PATCH v5 5/6] pg_numa.c changes --- src/port/pg_numa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 100.0% src/port/ diff --git a/src/port/pg_numa.c b/src/port/pg_numa.c index e94e68abe42..3aa1c191f51 100644 --- a/src/port/pg_numa.c +++ b/src/port/pg_numa.c @@ -17,6 +17,7 @@ #include "postgres.h" #include "port/pg_numa.h" #include "storage/pg_shmem.h" +#include #ifdef WIN32 #include #endif @@ -31,7 +32,6 @@ #include #include -#include /* libnuma requires initialization as per numa(3) on Linux */ int @@ -141,7 +141,7 @@ pg_numa_get_pagesize(void) SYSTEM_INFO sysinfo; GetSystemInfo(&sysinfo); os_page_size = sysinfo.dwPageSize; -#endif; +#endif if (huge_pages_status == HUGE_PAGES_ON) GetHugePageSize(&os_page_size, NULL); return os_page_size; -- 2.34.1