tdb: don't use err.h in tests.
[ddiss/samba.git] / lib / tdb / test / run-endian.c
index 372e8d21f6f256acf6f3dfad95466312ed92a433..b19ffd373f1fa7f23b3df78c0cb6bb8d65472ac2 100644 (file)
@@ -1,4 +1,3 @@
-#define _XOPEN_SOURCE 500
 #include "../common/tdb_private.h"
 #include "../common/io.c"
 #include "../common/tdb.c"
@@ -10,9 +9,8 @@
 #include "../common/open.c"
 #include "../common/check.c"
 #include "../common/hash.c"
-#include <ccan/tap/tap.h>
+#include "tap-interface.h"
 #include <stdlib.h>
-#include <err.h>
 #include "logging.h"
 
 int main(int argc, char *argv[])