aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gpgme/ChangeLog5
-rw-r--r--gpgme/util.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index 5649ab41..4d982f30 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-21 Werner Koch <[email protected]>
+
+ * util.h (struct) [!HAVE_FOPENCOOKIE]: Make sure off_t and ssize_t
+ are defined.
+
2002-03-18 Marcus Brinkmann <[email protected]>
* Makefile.am (system_components): New variable, set depending on
diff --git a/gpgme/util.h b/gpgme/util.h
index 170f7fe5..eeb88e22 100644
--- a/gpgme/util.h
+++ b/gpgme/util.h
@@ -134,6 +134,7 @@ int asprintf (char **result, const char *format, ...);
#endif
#if !HAVE_FOPENCOOKIE
+#include <fcntl.h> /* make sure that ssize_t and off_t are defined */
typedef struct
{
ssize_t (*read)(void*,char*,size_t);