configure: enable -Wshadow-field
[babeltrace.git] / tests / ctf-writer / ctf_writer.c
index c8fab1b7ce48695c8a68abe5788b4ccda3e8653e..0b979acef9dfdf64347786a80e87ed82ad0f8d3d 100644 (file)
 #include <float.h>
 #include "common.h"
 
+#ifdef __FreeBSD__
+/* Required for WIFEXITED and WEXITSTATUS */
+#include <sys/wait.h>
+#endif
+
 #define METADATA_LINE_SIZE 512
 #define SEQUENCE_TEST_LENGTH 10
 #define ARRAY_TEST_LENGTH 5
@@ -2058,5 +2063,5 @@ int main(int argc, char **argv)
        g_free(trace_path);
        g_free(metadata_path);
 
-       return 0;
+       return exit_status();
 }
This page took 0.023537 seconds and 4 git commands to generate.