summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2013-12-06 02:02:06 +0200
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2013-12-06 02:02:06 +0200
commit5917ce34e3b3eac4c15f62577e4723974024f818 (patch)
tree479636396f91a4fe0cd4a59d6cf7d4d46e6acc37 /src
parent7ef43d1eebb4f8226e860982dfe5fa2e2c82ad0f (diff)
downloadlibgcrypt-5917ce34e3b3eac4c15f62577e4723974024f818.tar.gz
Fix building on mingw32
* src/gcrypt-int.h: Include <types.h>. -- 'ulong' is not defined on W32, so we need to include "types.h" in 'gcrypt-int.h'. In file included from ../src/visibility.h:53:0, from ../src/g10lib.h:39, from compat.c:22: ../src/gcrypt-int.h:365:49: error: unknown type name 'ulong' Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'src')
-rw-r--r--src/gcrypt-int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gcrypt-int.h b/src/gcrypt-int.h
index dabc9df3..e22baf69 100644
--- a/src/gcrypt-int.h
+++ b/src/gcrypt-int.h
@@ -25,6 +25,7 @@
#endif
#include "gcrypt.h"
+#include "types.h"
/* These error codes are used but not defined in the required
libgpg-error 1.11. Define them here. */