Fix meson uuid header check so it works with MSVC

The OSSP uuid.h file includes unistd.h, so to use it with MSVC we need to
include the postgres include directories so it picks up our version of
that in src/include/port/win32_msvc. Adjust the meson test accordingly.

Backported from commit 7c655a04a2, so we can build release 16 with UUID

per request from Marina Polyakova

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1250adfdf07da7eb6e1f629d7ffafd8372e0ad6d

Modified Files
--------------
meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Reply via email to