librpc/tests: make use of replace.h in test_ndr*.c
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Feb 2020 00:51:18 +0000 (01:51 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 27 Mar 2020 09:02:37 +0000 (09:02 +0000)
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>
librpc/tests/test_ndr.c
librpc/tests/test_ndr_macros.c
librpc/tests/test_ndr_string.c

index 316c54368a09fe204c646bf4140160d1bdf6a0c2..a26c75ab05354333d29cc5667ee391f1193a5b5a 100644 (file)
@@ -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>
 
index 0cd20d3e8f383cd92ecd461b07d456699b78472c..337bc95b57ad1d2cfb6d9dcfd15350853c17ceb2 100644 (file)
@@ -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>
 
index b3b297c550cfff5a8c895095c60881448122a30c..571aae42f34492d228575353f7e3379b54020e39 100644 (file)
@@ -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>