openbsd-ports/sysutils/augeas/patches/patch-tests_cutest_c
2012-12-30 21:30:57 +00:00

20 lines
550 B
Plaintext

$OpenBSD: patch-tests_cutest_c,v 1.2 2012/12/30 21:30:57 jasper Exp $
From b403f604231842ea4c24554b2b14c003e269dac7 Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Sat, 29 Dec 2012 13:33:48 +0000
Subject: * tests/cutest.c: include sys/wait.h for WIFEXITED and WEXITSTATUS.
Fixes ticket #321
--- tests/cutest.c.orig Sat Dec 29 14:28:44 2012
+++ tests/cutest.c Sat Dec 29 14:28:57 2012
@@ -28,6 +28,7 @@
#include <config.h>
+#include <sys/wait.h>
#include <assert.h>
#include <setjmp.h>
#include <stdlib.h>