From: Stefan Metzmacher Date: Thu, 27 Feb 2020 00:51:18 +0000 (+0100) Subject: librpc/tests: make use of replace.h in test_ndr*.c X-Git-Tag: ldb-2.2.0~1191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cefa9be9d7d9877a1d00caaf5c536f08ecdee0f4;p=thirdparty%2Fsamba.git librpc/tests: make use of replace.h in test_ndr*.c This fixes the build on FreeBSD 12.1 and maybe other systems. Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/librpc/tests/test_ndr.c b/librpc/tests/test_ndr.c index 316c54368a0..a26c75ab053 100644 --- a/librpc/tests/test_ndr.c +++ b/librpc/tests/test_ndr.c @@ -32,9 +32,7 @@ * library functions and types. * */ -#include -#include -#include +#include "replace.h" #include #include diff --git a/librpc/tests/test_ndr_macros.c b/librpc/tests/test_ndr_macros.c index 0cd20d3e8f3..337bc95b57a 100644 --- a/librpc/tests/test_ndr_macros.c +++ b/librpc/tests/test_ndr_macros.c @@ -32,9 +32,7 @@ * library functions and types. * */ -#include -#include -#include +#include "replace.h" #include #include diff --git a/librpc/tests/test_ndr_string.c b/librpc/tests/test_ndr_string.c index b3b297c550c..571aae42f34 100644 --- a/librpc/tests/test_ndr_string.c +++ b/librpc/tests/test_ndr_string.c @@ -32,9 +32,7 @@ * library functions and types. * */ -#include -#include -#include +#include "replace.h" #include #include