From d13eb8563e4e6c482fe7486eb9a3be0dddb2c868 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 17 Jul 2023 13:15:10 -0700 Subject: [PATCH] Improved includes --- src/ivfflat.h | 2 +- src/vector.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ivfflat.h b/src/ivfflat.h index ab2776f..8dba5ef 100644 --- a/src/ivfflat.h +++ b/src/ivfflat.h @@ -11,7 +11,7 @@ #include "access/parallel.h" #include "access/reloptions.h" #include "nodes/execnodes.h" -#include "port.h" /* for strtof() and random() */ +#include "port.h" /* for random() */ #include "utils/sampling.h" #include "utils/tuplesort.h" #include "vector.h" diff --git a/src/vector.c b/src/vector.c index e76d43f..ac574e5 100644 --- a/src/vector.c +++ b/src/vector.c @@ -6,6 +6,7 @@ #include "vector.h" #include "fmgr.h" +#include "port.h" /* for strtof() */ #include "catalog/pg_type.h" #include "lib/stringinfo.h" #include "libpq/pqformat.h"