summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2017-02-25 23:34:09 +0000
committerTom Lane2017-02-25 23:34:09 +0000
commit285ca26132abdd0a1adc11a21789f103c4e3f6d8 (patch)
tree2b45abbbb29a13ba2b38c93eca85fa1edc56feae
parent2bd7f85796ec373ecae61dd480437b3e668ec883 (diff)
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.
-rw-r--r--src/port/dirmod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/port/dirmod.c b/src/port/dirmod.c
index 84039ff38a..08835962be 100644
--- a/src/port/dirmod.c
+++ b/src/port/dirmod.c
@@ -34,6 +34,7 @@
#ifndef __CYGWIN__
#include <winioctl.h>
#else
+#include <windows.h>
#include <w32api/winioctl.h>
#endif
#endif