termux-packages/packages/kphp/runtime-files.cpp.patch

14 lines
239 B
Diff
Raw Normal View History

2022-01-13 13:07:28 +01:00
--- 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"