port: tests: Add sys/wait.h include for FreeBSD
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 19 Oct 2020 16:44:32 +0000 (12:44 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 Feb 2021 18:57:20 +0000 (13:57 -0500)
Required for WIFEXITED and WEXITSTATUS.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I2a74762da3ffba58a27fecc3c0d85cc9007bd7c4

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.025983 seconds and 4 git commands to generate.