summaryrefslogtreecommitdiffstats
path: root/external/gpgmepp/w32-include.patch
blob: 0fda72c2b0721618f2b2d29215f30b3c7f15a40d (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
--- src/data-fd.c
+++ src/data-fd.c
@@ -28,6 +28,9 @@
 #ifdef HAVE_SYS_TYPES_H
 # include <sys/types.h>
 #endif
+#if defined HAVE_W32_SYSTEM
+#include <io.h>
+#endif
 
 #include "debug.h"
 #include "data.h"
--- src/gpgme-w32spawn.c
+++ src/gpgme-w32spawn.c
@@ -36,6 +36,7 @@
 # include <sys/stat.h>
 #endif
 #include <stdint.h>
+#include <io.h>
 #include <process.h>
 
 #include "priv-io.h"
--- lang/cpp/src/gpgaddexistingsubkeyeditinteractor.h
+++ lang/cpp/src/gpgaddexistingsubkeyeditinteractor.h
@@ -27,6 +27,7 @@
 #include "editinteractor.h"
 
 #include <memory>
+#include <string>
 
 namespace GpgME
 {
--- lang/cpp/src/gpgrevokekeyeditinteractor.h
+++ lang/cpp/src/gpgrevokekeyeditinteractor.h
@@ -28,6 +28,7 @@
 #include "global.h"
 
 #include <memory>
+#include <string>
 #include <vector>
 
 namespace GpgME