stat,tail: fix android build and support inotify
commit2e8f885a2a853fea0ef56b663741c0947f9ba7ca
authorPádraig Brady <P@draigBrady.com>
Wed, 30 Jan 2019 04:32:53 +0000 (29 20:32 -0800)
committerPádraig Brady <P@draigBrady.com>
Mon, 4 Feb 2019 01:18:08 +0000 (3 17:18 -0800)
treed363c09dbc212036da6828497ce8d7d3e9ab837b
parent90933c8eb0efc2a718fae44a22e89fc4e0f49cc9
stat,tail: fix android build and support inotify

* src/extract-magic: Treat android like linux,
which fixes the build by ensuring the constants are defined.
* src/stat.c: Support all constants on android, including
the android specific "sdcardfs".
* src/tail.c: Fix inclusion of statfs headers to be independent
of inotify availability, as fremote() is used on linux even
if inotify has been disabled.  Also enable fremote() on android.
* NEWS: Mention the improvment.
Fixes https://bugs.gnu.org/34239
NEWS
src/extract-magic
src/stat.c
src/tail.c