aboutsummaryrefslogtreecommitdiff
path: root/test/unit/fixtures/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/fixtures/posix.h')
-rw-r--r--test/unit/fixtures/posix.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unit/fixtures/posix.h b/test/unit/fixtures/posix.h
new file mode 100644
index 0000000000..f6f24cd9dc
--- /dev/null
+++ b/test/unit/fixtures/posix.h
@@ -0,0 +1,11 @@
+#include <unistd.h>
+#include <string.h>
+#include <errno.h>
+#include <sys/wait.h>
+#include <stdlib.h>
+
+enum {
+ kPOSIXErrnoEINTR = EINTR,
+ kPOSIXErrnoECHILD = ECHILD,
+ kPOSIXWaitWUNTRACED = WUNTRACED,
+};