A lot of things are undeclared unless x509.h is included.
[openssl.git] / crypto / pkcs7 / example.c
index f6656be28e19b30de5bc0039cb0959003d216c73..c993947cc378914c9fba3a6d7cd25176ddb67d85 100644 (file)
@@ -3,6 +3,7 @@
 #include <string.h>
 #include <openssl/pkcs7.h>
 #include <openssl/asn1_mac.h>
+#include <openssl/x509.h>
 
 int add_signed_time(PKCS7_SIGNER_INFO *si)
        {