mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-12 16:03:39 +00:00
15 lines
306 B
Diff
15 lines
306 B
Diff
--- a/finger/finger.c
|
|
+++ b/finger/finger.c
|
|
@@ -76,6 +76,11 @@
|
|
#include "finger.h"
|
|
#include "../version.h"
|
|
|
|
+#if defined __ANDROID__ && __ANDROID_API__ < 26
|
|
+#define getpwent() (NULL)
|
|
+#define setpwent() ((void)0)
|
|
+#endif
|
|
+
|
|
static void loginlist(void);
|
|
static void userlist(int argc, char *argv[]);
|
|
|