We do have <mntent.h> and setmntent(3).
Also silence unused parameter warnings; C programmers don't care, so
upstream is unlikely to fix that.
Bug: N/A
Test: builds
Change-Id: I57db0cca68a617913e21c2ef7b6613cd1183d7c5
From AOSP commit:
d5947f70714e6676bca2663af210bfb9f6118e83
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
libext2fs_c_includes := external/e2fsprogs/lib
-libext2fs_cflags := -O2 -g -W -Wall
+libext2fs_cflags := -O2 -g -W -Wall -Wno-unused-parameter
include $(CLEAR_VARS)
-/* work around bug in AndroidConfig.h */
-#ifdef HAVE_MALLOC_H
-#undef HAVE_MALLOC_H
#define HAVE_MALLOC_H 1
-#endif
#define ROOT_SYSCONFDIR "/etc"
#define HAVE_LSEEK64_PROTOTYPE 1
#endif
#define HAVE_MMAP 1
+#define HAVE_MNTENT_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NET_IF_H 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_PWRITE64 1
#endif
#define HAVE_SETJMP_H 1
+#define HAVE_SETMNTENT 1
#define HAVE_SNPRINTF 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCASECMP 1