diff options
Diffstat (limited to 'external/gpgmepp/w32-include.patch')
-rw-r--r-- | external/gpgmepp/w32-include.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/external/gpgmepp/w32-include.patch b/external/gpgmepp/w32-include.patch new file mode 100644 index 000000000000..30fdba5f8f26 --- /dev/null +++ b/external/gpgmepp/w32-include.patch @@ -0,0 +1,22 @@ +--- 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" |