From 71317c5b3086a27e6f3b041e8ec02a1c5ad2ab32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Fri, 30 Oct 1998 10:58:04 +0000 Subject: [PATCH] added wait4() prototype for solaris git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/utilsgtk.cpp | 5 +++++ src/gtk1/utilsgtk.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/gtk/utilsgtk.cpp b/src/gtk/utilsgtk.cpp index 086ef60b6b..07ca4f5658 100644 --- a/src/gtk/utilsgtk.cpp +++ b/src/gtk/utilsgtk.cpp @@ -35,6 +35,11 @@ #include #endif +#ifdef __SOLARIS__ +// somehow missing from sys/wait.h but in the system's docs +pid_t wait4(pid_t pid, int *statusp, int options, struct rusage *rusage); +#endif + //------------------------------------------------------------------------ // misc. //------------------------------------------------------------------------ diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index 086ef60b6b..07ca4f5658 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -35,6 +35,11 @@ #include #endif +#ifdef __SOLARIS__ +// somehow missing from sys/wait.h but in the system's docs +pid_t wait4(pid_t pid, int *statusp, int options, struct rusage *rusage); +#endif + //------------------------------------------------------------------------ // misc. //------------------------------------------------------------------------ -- 2.45.2