diff --git a/packages/uClibc-ng/1.0.43/0000-gettimeofday-fix-static-build.patch b/packages/uClibc-ng/1.0.43/0000-gettimeofday-fix-static-build.patch new file mode 100644 index 00000000..ba8eb63a --- /dev/null +++ b/packages/uClibc-ng/1.0.43/0000-gettimeofday-fix-static-build.patch @@ -0,0 +1,22 @@ +From b19f8f360970ffd0c1a6ac41e07c66dc39790b16 Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb +Date: Wed, 10 May 2023 08:35:25 +0200 +Subject: gettimeofday: fix static build + +--- + libc/sysdeps/linux/common/gettimeofday.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/libc/sysdeps/linux/common/gettimeofday.c ++++ b/libc/sysdeps/linux/common/gettimeofday.c +@@ -9,8 +9,9 @@ + #include + #include + ++#ifdef SHARED + #include "ldso.h" +- ++#endif + + + #ifdef __VDSO_SUPPORT__