summaryrefslogtreecommitdiffstats
path: root/src/apr-1.patch
blob: b19d80408be6283ea3096ff415d08f48266ed533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
This file is part of MXE. See LICENSE.md for licensing information.

From 1e244993f497ca7167361dfb29a2fe43232a7661 Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Thu, 13 Nov 2014 00:17:19 -0500
Subject: [PATCH] Include windows.h after winsock2.h

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
---
 include/apr.h.in | 2 +-
 include/apr.hw   | 2 +-
 include/apr.hwc  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/apr.h.in b/include/apr.h.in
index 0ad7a91..0d70142 100644
--- a/include/apr.h.in
+++ b/include/apr.h.in
@@ -142,7 +142,6 @@
 #define NOIME
 #endif
 
-#include <windows.h>
 /* 
  * Add a _very_few_ declarations missing from the restricted set of headers
  * (If this list becomes extensive, re-enable the required headers above!)
@@ -156,6 +155,7 @@
 #else
 #include <winsock.h>
 #endif
+#include <windows.h>
 
 #endif /* ndef _WINDOWS_ */
 #endif /* APR_HAVE_WINDOWS_H */
diff --git a/include/apr.hw b/include/apr.hw
index a75bc60..caa933c 100644
--- a/include/apr.hw
+++ b/include/apr.hw
@@ -95,7 +95,6 @@
 #ifndef NOIME
 #define NOIME
 #endif
-#include <windows.h>
 /* 
  * Add a _very_few_ declarations missing from the restricted set of headers
  * (If this list becomes extensive, re-enable the required headers above!)
@@ -109,6 +108,7 @@
 #else
 #include <winsock.h>
 #endif
+#include <windows.h>
 #endif /* !_WINDOWS_ */
 
 /**
diff --git a/include/apr.hwc b/include/apr.hwc
index 0579962..b171d48 100644
--- a/include/apr.hwc
+++ b/include/apr.hwc
@@ -92,7 +92,6 @@
 #ifndef NOIME
 #define NOIME
 #endif
-#include <windows.h>
 /* 
  * Add a _very_few_ declarations missing from the restricted set of headers
  * (If this list becomes extensive, re-enable the required headers above!)
@@ -106,6 +105,7 @@
 #else
 #include <winsock.h>
 #endif
+#include <windows.h>
 #endif /* !_WINDOWS_ */
 
 /**
-- 
1.9.1