s! {
    pub struct sigaction {
        pub sa_flags: ::c_uint,
        pub sa_sigaction: ::sighandler_t,
        pub sa_mask: ::sigset_t,
        _restorer: *mut ::c_void,
    }
}

s! {
    pub struct sigaction {
        pub sa_flags: ::c_uint,
        pub sa_sigaction: sighandler_t,
        pub sa_mask: sigset_t,
        _restorer: *mut ::c_void,
    }
}

--- 
+++ 
@@ -1,8 +1,8 @@
 s! {
     pub struct sigaction {
         pub sa_flags: ::c_uint,
-        pub sa_sigaction: sighandler_t,
-        pub sa_mask: sigset_t,
+        pub sa_sigaction: ::sighandler_t,
+        pub sa_mask: ::sigset_t,
         _restorer: *mut ::c_void,
     }
 }
Fix undeclared type name errors when targeting android aarch64.
