diff options
author | Marcus Brinkmann <[email protected]> | 2010-05-11 17:01:40 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2010-05-11 17:01:40 +0000 |
commit | 3da380293d146f74f52ca81db0e31a18b51a1c27 (patch) | |
tree | fa763b5b11a0f5572673f124a8788c6dd13d1f6e /src/gpgme.h.in | |
parent | Better detection of a missing libassuan (diff) | |
download | gpgme-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 '')
-rw-r--r-- | src/gpgme.h.in | 4 |
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 |