From: Guus Sliepen Date: Tue, 13 Aug 2013 18:40:40 +0000 (+0200) Subject: Don't typedef the same struct in two header files. X-Git-Tag: release-1.1pre8~1 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=6aa864baa626b366f5bba1f1b349a870b68d7c01;p=tinc Don't typedef the same struct in two header files. Some (older?) versions of GCC don't like this. --- diff --git a/src/openssl/digest.h b/src/openssl/digest.h index 542c63cb..0a32707e 100644 --- a/src/openssl/digest.h +++ b/src/openssl/digest.h @@ -22,11 +22,11 @@ #include -typedef struct digest { +struct digest { const EVP_MD *digest; int maclength; int keylength; char *key; -} digest_t; +}; #endif