git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Only define waitpid replacement if wait4 is available. (It isn't on
[ira/wip.git]
/
lib
/
replace
/
replace.c
diff --git
a/lib/replace/replace.c
b/lib/replace/replace.c
index a648391b23d4ebd2c859f044400174ef22e969f9..be277445923ac43d131464d8b7fcaa4dae951e8f 100644
(file)
--- a/
lib/replace/replace.c
+++ b/
lib/replace/replace.c
@@
-359,7
+359,7
@@
char *rep_strndup(const char *s, size_t n)
}
#endif
-#if
ndef HAVE_WAITPID
+#if
!defined(HAVE_WAITPID) && defined(HAVE_WAIT4)
int rep_waitpid(pid_t pid,int *status,int options)
{
return wait4(pid, status, options, NULL);