Fix test builds.
/usr/include/bits/waitstatus.h includes endian.h under some libc's.
This clashes with the new test header file, so rename the latter.
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8600)
diff --git a/test/endian.h b/test/ossl_test_endian.h
similarity index 100%
rename from test/endian.h
rename to test/ossl_test_endian.h
diff --git a/test/params_api_test.c b/test/params_api_test.c
index c99af3d..15dfb16 100644
--- a/test/params_api_test.c
+++ b/test/params_api_test.c
@@ -11,7 +11,7 @@
#include <string.h>
#include "testutil.h"
#include "internal/nelem.h"
-#include "endian.h"
+#include "ossl_test_endian.h"
#include <openssl/params.h>
#include <openssl/bn.h>