Improve #include structure of pem{,2}.h
[openssl.git] / include / openssl / pem2.h
index 8a46324af35bfd4c32e9a52a3b5fa78523e0420d..bad7ac897fa7e9e2315c9b62db92ee07f1e73c59 100644 (file)
@@ -7,10 +7,7 @@
  * https://www.openssl.org/source/license.html
  */
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifdef __cplusplus
-}
+#ifndef HEADER_PEM2_H
+# define HEADER_PEM2_H
+# include <openssl/pemerr.h>
 #endif