aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-receive.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-08-31 18:15:27 +0200
committerDavid Sterba <dsterba@suse.com>2015-09-01 14:02:49 +0200
commit0cdee628b11d53db814dbfa3c9e4f874f83c535c (patch)
tree11bb6b4608f94c4a5cbb08e3e1116d9c052d355a /cmds-receive.c
parent8653831b9fbdfa2746e66bb0ba839f3f461fddfc (diff)
downloadbtrfs-progs-0cdee628b11d53db814dbfa3c9e4f874f83c535c.tar.gz
btrfs-progs-0cdee628b11d53db814dbfa3c9e4f874f83c535c.tar.xz
btrfs-progs-0cdee628b11d53db814dbfa3c9e4f874f83c535c.zip
btrfs-progs: use android compat header
Applies to sources where pthreads are used. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-receive.c')
-rw-r--r--cmds-receive.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds-receive.c b/cmds-receive.c
index d4b3103..1d7d897 100644
--- a/cmds-receive.c
+++ b/cmds-receive.c
@@ -17,6 +17,7 @@
*/
#include "kerncompat.h"
+#include "androidcompat.h"
#include <unistd.h>
#include <stdint.h>
@@ -25,7 +26,7 @@
#include <pthread.h>
#include <math.h>
#include <ftw.h>
-#include <wait.h>
+#include <sys/wait.h>
#include <assert.h>
#include <getopt.h>
#include <limits.h>