Add legacy include guards to public header files
[openssl.git] / include / openssl / cryptoerr.h
index 497735e67e510e1355132010a0849d6558c19863..99872af16152398b5f46c49f8947321cf0ad4e26 100644 (file)
 
 #ifndef OPENSSL_CRYPTOERR_H
 # define OPENSSL_CRYPTOERR_H
+# pragma once
+
+# include <openssl/macros.h>
+# if !OPENSSL_API_3
+#  define HEADER_CRYPTOERR_H
+# endif
 
 # include <openssl/opensslconf.h>
 # include <openssl/symhacks.h>