summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-02-27 01:51:18 +0100
committerAndreas Schneider <asn@cryptomilk.org>2020-03-27 09:02:37 +0000
commitcefa9be9d7d9877a1d00caaf5c536f08ecdee0f4 (patch)
treeb03a0cd935b20a204cd7ae15dc6e1f53f495b1a9 /librpc
parentbc94d9878da15253d617f6f772eb0d8e02929620 (diff)
downloadsamba-cefa9be9d7d9877a1d00caaf5c536f08ecdee0f4.tar.gz
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 <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/tests/test_ndr.c4
-rw-r--r--librpc/tests/test_ndr_macros.c4
-rw-r--r--librpc/tests/test_ndr_string.c4
3 files changed, 3 insertions, 9 deletions
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 <stdarg.h>
-#include <stddef.h>
-#include <stdint.h>
+#include "replace.h"
#include <setjmp.h>
#include <cmocka.h>
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 <stdarg.h>
-#include <stddef.h>
-#include <stdint.h>
+#include "replace.h"
#include <setjmp.h>
#include <cmocka.h>
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 <stdarg.h>
-#include <stddef.h>
-#include <stdint.h>
+#include "replace.h"
#include <setjmp.h>
#include <cmocka.h>