termux-packages/packages/kphp/runtime-string_functions.cp...

14 lines
266 B
Diff
Raw Normal View History

2022-01-13 13:07:28 +01:00
--- a/runtime/string_functions.cpp
+++ b/runtime/string_functions.cpp
@@ -7,6 +7,10 @@
#include <clocale>
#include <sys/types.h>
+#ifdef __ANDROID__
+#include <sys/endian.h>
+#endif
+
#include "common/macos-ports.h"
#include "common/unicode/unicode-utils.h"