]> granicus.if.org Git - postgresql/commit
Put back #include <windows.h> in dirmod.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Feb 2017 23:34:09 +0000 (18:34 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Feb 2017 23:34:09 +0000 (18:34 -0500)
commit285ca26132abdd0a1adc11a21789f103c4e3f6d8
tree2b45abbbb29a13ba2b38c93eca85fa1edc56feae
parent2bd7f85796ec373ecae61dd480437b3e668ec883
Put back #include <windows.h> in dirmod.c.

I removed this in commit 9e3755ecb, reasoning that the win32.h
port-specific header file included by c.h would have provided it.
However, that's only true on native win32 builds, not Cygwin builds.

It may be that some of the other <windows.h> inclusions also need
to be put back on the same grounds; but this is the only one that
is clearly meant to be included #ifdef __CYGWIN__, so maybe this is
the extent of the problem.  Awaiting further buildfarm results.
src/port/dirmod.c