diff options
author | Werner Koch <[email protected]> | 1998-05-13 17:53:36 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-05-13 17:53:36 +0000 |
commit | 0e5a31d7be80d1dd1bcdff04dad226f0f49e0cce (patch) | |
tree | c569c8c335f811af291181d48bceb336906025a0 /include/types.h | |
parent | add DSA key generation (diff) | |
download | gnupg-0e5a31d7be80d1dd1bcdff04dad226f0f49e0cce.tar.gz gnupg-0e5a31d7be80d1dd1bcdff04dad226f0f49e0cce.zip |
can create v4 signatures
Diffstat (limited to 'include/types.h')
-rw-r--r-- | include/types.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h index 41adbbbd8..543cbad62 100644 --- a/include/types.h +++ b/include/types.h @@ -21,6 +21,23 @@ #ifndef G10_TYPES_H #define G10_TYPES_H + +/* The AC_CHECK_SIZEOF() in configure fails for some machines. + * we provide some fallback values here */ +#if !SIZEOF_UNSIGNED_SHORT + #undef SIZEOF_UNSIGNED_SHORT + #define SIZEOF_UNSIGNED_SHORT 2 +#endif +#if !SIZEOF_UNSIGNED_INT + #undef SIZEOF_UNSIGNED_INT + #define SIZEOF_UNSIGNED_INT 4 +#endif +#if !SIZEOF_UNSIGNED_LONG + #undef SIZEOF_UNSIGNED_LONG + #define SIZEOF_UNSIGNED_LONG 4 +#endif + + #include <sys/types.h> |