]> git.saurik.com Git - wxWidgets.git/commitdiff
added wait4() prototype for solaris
authorKarsten Ballüder <ballueder@usa.net>
Fri, 30 Oct 1998 10:58:04 +0000 (10:58 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Fri, 30 Oct 1998 10:58:04 +0000 (10:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/utilsgtk.cpp
src/gtk1/utilsgtk.cpp

index 086ef60b6b34b614285bf896fca7a31a5e40970d..07ca4f5658c010913bc3d4f0fb841a24466382ac 100644 (file)
   #include <sys/systeminfo.h>
 #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.
 //------------------------------------------------------------------------
index 086ef60b6b34b614285bf896fca7a31a5e40970d..07ca4f5658c010913bc3d4f0fb841a24466382ac 100644 (file)
   #include <sys/systeminfo.h>
 #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.
 //------------------------------------------------------------------------