Add legacy include guards to public header files
[openssl.git] / include / openssl / comperr.h
index 6fb872a4f80cd7279691b48e5dcc678f56cb3da0..89faccb1155e81dda149cdea82c83771df513063 100644 (file)
 
 #ifndef OPENSSL_COMPERR_H
 # define OPENSSL_COMPERR_H
+# pragma once
+
+# include <openssl/macros.h>
+# if !OPENSSL_API_3
+#  define HEADER_COMPERR_H
+# endif
 
 # include <openssl/opensslconf.h>
 # include <openssl/symhacks.h>