This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Configure: Improve the d_prctl_set_name detection for Android
[perl5.git] / Configure
index a67a2c9..23b47df 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -16541,6 +16541,9 @@ d_prctl_set_name=$undef
 case $d_prctl in
     $define)
        $cat >try.c <<EOM
+#ifdef __ANDROID__
+#include <unistd.h>
+#endif
 #include <sys/prctl.h>
 
 int main (int argc, char *argv[])