Fix a couple more IWYU errors

These would be caught by parse_headers, if we didn't have to disable
parse_headers entirely.

Bug: 362664827
Change-Id: Ia7c10cae3fd082eb4b50dd9fad79d4631f95edea
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/70688
Reviewed-by: Bob Beck <bbe@google.com>
Commit-Queue: Bob Beck <bbe@google.com>
diff --git a/crypto/pkcs8/internal.h b/crypto/pkcs8/internal.h
index 483e4b6..ae65ce0 100644
--- a/crypto/pkcs8/internal.h
+++ b/crypto/pkcs8/internal.h
@@ -57,6 +57,7 @@
 #define OPENSSL_HEADER_PKCS8_INTERNAL_H
 
 #include <openssl/base.h>
+#include <openssl/stack.h>
 
 #if defined(__cplusplus)
 extern "C" {
diff --git a/crypto/rsa_extra/internal.h b/crypto/rsa_extra/internal.h
index 6317cfc..74359c6 100644
--- a/crypto/rsa_extra/internal.h
+++ b/crypto/rsa_extra/internal.h
@@ -58,6 +58,8 @@
 #ifndef OPENSSL_HEADER_RSA_EXTRA_INTERNAL_H
 #define OPENSSL_HEADER_RSA_EXTRA_INTERNAL_H
 
+#include <openssl/base.h>
+
 #if defined(__cplusplus)
 extern "C" {
 #endif