summaryrefslogtreecommitdiff
path: root/util/android_config.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2015-07-13 10:58:33 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-07-13 10:58:33 -0400
commitf7134a9ece545b26e9d1d2b7240427064d5344fe (patch)
tree3d32acd4126af649116c4bb1ea0b336bd3a71c5c /util/android_config.h
parentec794020acd00cf62d215d216449abeefe8ca320 (diff)
downloade2fsprogs-f7134a9ece545b26e9d1d2b7240427064d5344fe.tar.gz
Remove dropped const warning and enable pread/pwrite for Android build
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'util/android_config.h')
-rw-r--r--util/android_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/android_config.h b/util/android_config.h
index 374becbd..51db4876 100644
--- a/util/android_config.h
+++ b/util/android_config.h
@@ -23,6 +23,10 @@
#define HAVE_NETINET_IN_H 1
#define HAVE_NET_IF_H 1
#define HAVE_POSIX_MEMALIGN 1
+#define HAVE_PREAD 1
+#define HAVE_PREAD64 1
+#define HAVE_PWRITE 1
+#define HAVE_PWRITE64 1
#define HAVE_SETJMP_H 1
#define HAVE_SNPRINTF 1
#define HAVE_STDLIB_H 1