pkgsrc-wip/apvlv/patches/patch-aa

18 lines
393 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.2 2010/01/24 12:42:23 leot1990 Exp $
According to wait(2) to use wait4() <sys/resource.h> and <sys/wait.h> should
be included.
--- src/ApvlvUtil.cpp.orig 2010-01-20 05:52:51.000000000 +0100
+++ src/ApvlvUtil.cpp
@@ -30,7 +30,8 @@
#include <stdlib.h>
#ifndef WIN32
-#include <wait.h>
+#include <sys/resource.h>
+#include <sys/wait.h>
#endif
#include <gtk/gtk.h>