mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-16 00:34:32 +08:00
btrfs-progs: use android compat header
Applies to sources where pthreads are used. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
8653831b9f
commit
0cdee628b1
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include "kerncompat.h"
|
||||
#include "androidcompat.h"
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/wait.h>
|
||||
|
3
mkfs.c
3
mkfs.c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user