diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-03-26 16:11:16 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-03-26 16:11:16 +0200 |
commit | 80ad74f7613d7d790a5152ee377af361ecd3ff9b (patch) | |
tree | 71aaa4d4d6286673f79aa109be03df70f13fc627 /libvncclient | |
parent | 5b920be490f49f951a99651918b2d2425a8d070c (diff) | |
download | libtdevnc-80ad74f7613d7d790a5152ee377af361ecd3ff9b.tar.gz libtdevnc-80ad74f7613d7d790a5152ee377af361ecd3ff9b.zip |
Fix building for Android and add build instructions to README
Diffstat (limited to 'libvncclient')
-rw-r--r-- | libvncclient/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/listen.c b/libvncclient/listen.c index 8674b3f..4ecedff 100644 --- a/libvncclient/listen.c +++ b/libvncclient/listen.c @@ -89,7 +89,7 @@ listenForIncomingConnections(rfbClient* client) int r; /* reap any zombies */ int status, pid; - while ((pid= wait3(&status, WNOHANG, (struct rusage *)0))>0); + while ((pid= wait4(-1, &status, WNOHANG, (struct rusage *)0))>0); /* TODO: callback for discard any events (like X11 events) */ |