0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/root-packages/nfs-utils/support-include-sockaddr.h.patch
Fredrik Fornwall 9bdfa7f1c2 fix(root/nfs-utils): Fix build with current toolchain
Also bump version from 2.6.3 to 2.6.4.
2024-06-19 12:04:12 +02:00

14 lines
473 B
Diff

Fix "call to undeclared library function 'memcmp'" error with current clang.
diff -u -r ../nfs-utils-2.6.4/support/include/sockaddr.h ./support/include/sockaddr.h
--- ../nfs-utils-2.6.4/support/include/sockaddr.h 2023-11-17 17:32:39.000000000 +0000
+++ ./support/include/sockaddr.h 2024-06-18 09:41:32.777237803 +0000
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <stdbool.h>
#include <sys/socket.h>
#include <netinet/in.h>