Fix test builds.
authorPauli <paul.dale@oracle.com>
Thu, 28 Mar 2019 05:02:19 +0000 (15:02 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 28 Mar 2019 05:02:19 +0000 (15:02 +1000)
/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)

test/ossl_test_endian.h [moved from test/endian.h with 100% similarity]
test/params_api_test.c

similarity index 100%
rename from test/endian.h
rename to test/ossl_test_endian.h
index c99af3d..15dfb16 100644 (file)
@@ -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>