pgsql: Put back #include <windows.h> in dirmod.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Put back #include <windows.h> in dirmod.c.
Date: 2017-02-25 23:34:13
Message-ID: E1chlqv-0000Rc-To@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/285ca26132abdd0a1adc11a21789f103c4e3f6d8

Modified Files
--------------
src/port/dirmod.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-02-26 08:17:03 pgsql: Allow custom and foreign scans to have shutdown callbacks.
Previous Message Tom Lane 2017-02-25 23:10:18 pgsql: Remove some configure header-file checks that we weren't really