Fix header files so that any one can be included first.
[openssl.git] / crypto / crypto.h
index 44d65f5f1b959c0fc9546d8aca8aaf5088a29af3..0bf74a16554622af6273e749334c7321331bf9eb 100644 (file)
 extern "C" {
 #endif
 
-#include "stack.h"
-#include "opensslv.h"
+#ifndef NO_FP_API
+#include <stdio.h>
+#endif
+
+#include <openssl/stack.h>
+#include <openssl/opensslv.h>
 
 /* Backward compatibility to SSLeay */
 /* This is more to be used to check the correct DLL is being used
@@ -333,6 +337,10 @@ void ERR_load_CRYPTO_strings();
 #endif
 
 /* BEGIN ERROR CODES */
+/* The following lines are auto generated by the script mkerr.pl. Any changes
+ * made after this point may be overwritten when the script is next run.
+ */
+
 /* Error codes for the CRYPTO functions. */
 
 /* Function codes. */
@@ -341,7 +349,7 @@ void ERR_load_CRYPTO_strings();
 #define CRYPTO_F_CRYPTO_SET_EX_DATA                     102
 
 /* Reason codes. */
+
 #ifdef  __cplusplus
 }
 #endif