1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-12-25 07:28:06 +00:00

Now it compiles with the new NDK.

This commit is contained in:
Greg Alexander 2019-05-25 22:46:18 -04:00
parent 7419f62d98
commit cec5e52c7e
3 changed files with 5 additions and 1 deletions

View File

@ -122,7 +122,7 @@ Java_org_galexander_sshd_SimpleSSHDService_start_1sshd(JNIEnv *env_,
const char *extra;
if (!jni_init(env_)) {
return;
return 0;
}
conf_path = from_java_string(jpath);
conf_shell = from_java_string(jshell);

View File

@ -22,6 +22,7 @@
#define HAVE_SIG_ATOMIC_T 1
#define HAVE_MBLEN 1
#define HAVE_SYS_UN_H 1
#define HAVE_ATTRIBUTE__SENTINEL__ 1
#define error(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__)
#define fatal(fmt, ...) { fprintf(stderr, fmt, ##__VA_ARGS__); cleanup_exit(255); }

View File

@ -74,5 +74,8 @@
#define HAVE_FCHMOD 1
#define HAVE_SETMODE 1
#define HAVE_STRUCT_STAT64 1
#define HAVE_INET_NTOP 1
#define MAJOR_IN_SYSMACROS 1
#define HAVE_ASPRINTF 1
#endif /* __RSYNC_CONFIG_H */