Only define waitpid replacement if wait4 is available. (It isn't on
[ira/wip.git] / lib / replace / system / wait.h
index 5784b1ae924d139855ba25fb973bda72df69c652..79583ad2abcd17d48612ed8f628160c776b62597 100644 (file)
@@ -52,4 +52,8 @@
 typedef int sig_atomic_t;
 #endif
 
+#if !defined(HAVE_WAITPID) && defined(HAVE_WAIT4)
+int rep_waitpid(pid_t pid,int *status,int options)
+#endif
+
 #endif