Include port.h to fix buggy strtof on some platforms

This commit is contained in:
Andrew Kane
2022-12-07 15:47:39 -08:00
parent 573200c188
commit 8691d2ad53

View File

@@ -6,14 +6,13 @@
#include "access/generic_xlog.h"
#include "access/reloptions.h"
#include "nodes/execnodes.h"
#include "port.h" /* for strtof() and random() */
#include "utils/sampling.h"
#include "utils/tuplesort.h"
#include "vector.h"
#if PG_VERSION_NUM >= 150000
#include "common/pg_prng.h"
#else
#include "port.h"
#endif
#ifdef IVFFLAT_BENCH