#define _LARGEFILE64_SOURCE
+#include <endian.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
static BIO *g_error = NULL;
-#if defined(OPENSSL_IS_BORINGSSL)
-/* In BoringSSL, ERR_print_errors has been moved to the BIO functions in order
- * to avoid the incorrect dependency of ERR on BIO. */
-static void ERR_print_errors(BIO *bio) {
- BIO_print_errors(bio);
-}
-#endif
-
/**
* Rounds n up to the nearest multiple of page_size
* @param n The value to round