diff --git a/libc-test/build.rs b/libc-test/build.rs
index 616f1dde12303429b45beef032a8f66caeea8d43..d89981049470729ebc787b7a80b3e9d2330525a8 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1414,15 +1414,6 @@ fn test_android(target: &str) {
         }
     });
 
-    cfg.skip_static(move |name| {
-        match name {
-            // Internal constant, not declared in any headers.
-            // FIXME: still necessary
-            "__progname" => true,
-            _ => false,
-        }
-    });
-
     // FIXME: still necessary?
     cfg.skip_field_type(move |struct_, field| {
         // This is a weird union, don't check the type.
diff --git a/src/unix/notbsd/android/mod.rs b/src/unix/notbsd/android/mod.rs
index dda1903657d4f26fdabda07a7431fd71b147194b..9fda9d6da7ae58b966672a87e8cb2ef58d2fe227 100644
--- a/src/unix/notbsd/android/mod.rs
+++ b/src/unix/notbsd/android/mod.rs
@@ -1926,10 +1926,6 @@ f! {
     }
 }
 
-extern {
-    static mut __progname: *mut ::c_char;
-}
-
 extern {
     pub fn strerror_r(errnum: ::c_int, buf: *mut c_char,
                       buflen: ::size_t) -> ::c_int;