You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
14 lines
239 B
Diff
14 lines
239 B
Diff
|
|
--- a/runtime/files.cpp
|
||
|
|
+++ b/runtime/files.cpp
|
||
|
|
@@ -10,6 +10,10 @@
|
||
|
|
#include <sys/utsname.h>
|
||
|
|
#include <unistd.h>
|
||
|
|
|
||
|
|
+#ifdef __ANDROID__
|
||
|
|
+#define __xpg_basename __posix_basename
|
||
|
|
+#endif
|
||
|
|
+
|
||
|
|
#undef basename
|
||
|
|
|
||
|
|
#include "common/macos-ports.h"
|