From 3da380293d146f74f52ca81db0e31a18b51a1c27 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 11 May 2010 17:01:40 +0000 Subject: [PATCH] 2010-05-11 Marcus Brinkmann * gpgme.h.in: Use _WIN32 instead of _MSC_VER. Include time.h for time_t. --- src/ChangeLog | 5 +++++ src/gpgme.h.in | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 4f1ca96e..f9220bb8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-05-11 Marcus Brinkmann + + * gpgme.h.in: Use _WIN32 instead of _MSC_VER. Include time.h for + time_t. + 2010-05-07 Marcus Brinkmann * engine-g13.c, gpgme.c, engine-gpgsm.c, engine-gpg.c, 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 -#ifdef _MSC_VER +#ifdef _WIN32 typedef long off_t; typedef long ssize_t; #else # include #endif +#include + #include #ifdef __cplusplus