port: tests: Add sys/wait.h include for FreeBSD
[babeltrace.git] / tests / ctf-writer / ctf_writer.c
index 16430b793eb59f420c2938c49882c59aa35da720..af51363bf5a8e27682782601017f41bb175753df 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
This page took 0.024695 seconds and 4 git commands to generate.