Another stack.
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index 693d421..9ed7994 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -375,7 +375,7 @@
         ASN1_INTEGER *version;
         X509_ALGOR *pkeyalg;
         ASN1_TYPE *pkey; /* Should be OCTET STRING but some are broken */
-        STACK *attributes;
+        STACK_OF(X509_ATTRIBUTE) *attributes;
         } PKCS8_PRIV_KEY_INFO;
 
 #include <openssl/x509_vfy.h>