btrfs-progs: use android compat header

Applies to sources where pthreads are used.

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2015-08-31 18:15:27 +02:00
parent 8653831b9f
commit 0cdee628b1
4 changed files with 8 additions and 3 deletions

View File

@ -16,6 +16,9 @@
* Boston, MA 021110-1307, USA.
*/
#include "kerncompat.h"
#include "androidcompat.h"
#include <stdio.h>
#include <stdio_ext.h>
#include <stdlib.h>
@ -26,7 +29,6 @@
#include <uuid/uuid.h>
#include <pthread.h>
#include "kerncompat.h"
#include "list.h"
#include "radix-tree.h"
#include "ctree.h"

View File

@ -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>

View File

@ -17,6 +17,7 @@
*/
#include "kerncompat.h"
#include "androidcompat.h"
#include <sys/ioctl.h>
#include <sys/wait.h>

3
mkfs.c
View File

@ -17,6 +17,7 @@
*/
#include "kerncompat.h"
#include "androidcompat.h"
#include <sys/ioctl.h>
#include <sys/mount.h>
@ -25,7 +26,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/dir.h>
/* #include <sys/dir.h> included via androidcompat.h */
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>