diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2015-10-30 17:50:42 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-10-30 17:50:42 -0400 |
commit | ea4421009acdf10bf0a7b26ff22c5afd431690db (patch) | |
tree | 89915d220d6dc218f562e104980c7c25a9f748ce /hints | |
parent | 7711f97842bc713f668a0686e9cb44322fe53f8c (diff) | |
download | perl-ea4421009acdf10bf0a7b26ff22c5afd431690db.tar.gz |
Revert "Remove unused filesystem stat symbols."
This reverts commit 821805a244cacd9869331999cd53407f3323206a.
What's out, is out.
perl #107904 Filesys-Df
perl #108189 Filesys-DfPortable
perl #108191 Filesys-Statvfs
perl #126368 Filesys-DfPortable
Diffstat (limited to 'hints')
-rw-r--r-- | hints/linux-android.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hints/linux-android.sh b/hints/linux-android.sh index 51fd5f51f6..6a59cb726e 100644 --- a/hints/linux-android.sh +++ b/hints/linux-android.sh @@ -80,6 +80,18 @@ if test "X$android_warn" != X; then fi $cat > try.c << 'EOM' +#include <stdio.h> +#include <mntent.h> +#include <unistd.h> +int main() { (void) getmntent(stdout); return(0); } +EOM +$cc $ccflags try.c -o try +android_warn=`$run ./try 2>&1 | $egrep "$android_stub"` +if test "X$android_warn" != X; then + d_getmntent="$undef" +fi + +$cat > try.c << 'EOM' #include <netdb.h> int main() { (void) getprotobyname("foo"); return(0); } EOM |