-@@ -737,6 +737,14 @@
- #pragma clang diagnostic pop
- #endif
-
-+/* Termux: Patched support for GNU extension function mempcpy(3): */
-+#if defined(_GNU_SOURCE) && defined(TERMUX_EXPOSE_MEMPCPY)
-+static void* mempcpy(void* dest, void const* src, size_t n)
-+{
-+ return memcpy(dest, src, n) + n;
-+}
-+#endif
-+
- __END_DECLS
-
- #endif /* _STRING_H */