aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.h.in
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2010-05-11 17:01:40 +0000
committerMarcus Brinkmann <[email protected]>2010-05-11 17:01:40 +0000
commit3da380293d146f74f52ca81db0e31a18b51a1c27 (patch)
treefa763b5b11a0f5572673f124a8788c6dd13d1f6e /src/gpgme.h.in
parentBetter detection of a missing libassuan (diff)
downloadgpgme-3da380293d146f74f52ca81db0e31a18b51a1c27.tar.gz
gpgme-3da380293d146f74f52ca81db0e31a18b51a1c27.zip
2010-05-11 Marcus Brinkmann <[email protected]>
* gpgme.h.in: Use _WIN32 instead of _MSC_VER. Include time.h for time_t.
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