Add legacy include guards to public header files
[openssl.git] / include / openssl / asn1err.h
index 944f7ca4569dcd092e78c05686102e9150f98740..9166f17142a7225be07ab89da4e3632013988ad2 100644 (file)
 
 #ifndef OPENSSL_ASN1ERR_H
 # define OPENSSL_ASN1ERR_H
+# pragma once
+
+# include <openssl/macros.h>
+# if !OPENSSL_API_3
+#  define HEADER_ASN1ERR_H
+# endif
 
 # include <openssl/opensslconf.h>
 # include <openssl/symhacks.h>