pgvector.git / summary / log / commit / refs
commit d13eb8563e4e6c482fe7486eb9a3be0dddb2c868
Author: Andrew Kane <andrew@ankane.org>
Date: Mon Jul 17 20:15:10 2023 +0000
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 ab2776f4..8dba5ef9 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 e76d43f6..ac574e5f 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"
[parent: f6fc03362281]