From 8ca5e37c838cb4fbbe1b9be8c04faa7317d04ff8 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 10 Dec 2025 22:30:32 -0800 Subject: [PATCH] Fixed CI --- src/hnsw.h | 2 ++ src/hnswbuild.c | 5 +++++ src/ivfbuild.c | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/src/hnsw.h b/src/hnsw.h index 16c7f0d..841af0f 100644 --- a/src/hnsw.h +++ b/src/hnsw.h @@ -3,6 +3,8 @@ #include "postgres.h" +#include + #include "access/genam.h" #include "access/parallel.h" #include "lib/pairingheap.h" diff --git a/src/hnswbuild.c b/src/hnswbuild.c index 976d816..836cf15 100644 --- a/src/hnswbuild.c +++ b/src/hnswbuild.c @@ -70,7 +70,12 @@ #if PG_VERSION_NUM >= 140000 #include "utils/backend_status.h" +#endif + +#if PG_VERSION_NUM >= 170000 #include "utils/wait_event_types.h" +#elif PG_VERSION_NUM >= 140000 +#include "utils/wait_event.h" #endif #define PARALLEL_KEY_HNSW_SHARED UINT64CONST(0xA000000000000001) diff --git a/src/ivfbuild.c b/src/ivfbuild.c index bea9b9b..ef93a9a 100644 --- a/src/ivfbuild.c +++ b/src/ivfbuild.c @@ -39,7 +39,12 @@ #if PG_VERSION_NUM >= 140000 #include "utils/backend_status.h" +#endif + +#if PG_VERSION_NUM >= 170000 #include "utils/wait_event_types.h" +#elif PG_VERSION_NUM >= 140000 +#include "utils/wait_event.h" #endif #define PARALLEL_KEY_IVFFLAT_SHARED UINT64CONST(0xA000000000000001)