From c713683fd7626f4b6f474bd13c2743db938099e9 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue, 11 Jul 2006 14:25:09 +0000
Subject: [PATCH] Reverse inclusion order of <ws2tcpip.h> and <winsock2.h>, per
 Dave Page.

---
 src/include/port/win32/sys/socket.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/port/win32/sys/socket.h b/src/include/port/win32/sys/socket.h
index d594901f8c0..ac64df8dd38 100644
--- a/src/include/port/win32/sys/socket.h
+++ b/src/include/port/win32/sys/socket.h
@@ -5,8 +5,8 @@
  *
  * Note: Don't include <wingdi.h> directly.  It causes compile errors.
  */
-#include <ws2tcpip.h>
 #include <winsock2.h>
+#include <ws2tcpip.h>
 #undef ERROR
 #undef small
 
-- 
GitLab