aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgme.h.in')
-rw-r--r--src/gpgme.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpgme.h.in b/src/gpgme.h.in
index 2c5ef108..eed9daa4 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -34,13 +34,15 @@
/* Include stdio.h for the FILE type definition. */
#include <stdio.h>
-#ifdef _MSC_VER
+#ifdef _WIN32
typedef long off_t;
typedef long ssize_t;
#else
# include <sys/types.h>
#endif
+#include <time.h>
+
#include <gpg-error.h>
#ifdef __cplusplus