summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/gettimeofday.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-05-10 08:35:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-05-10 08:35:25 +0200
commitb19f8f360970ffd0c1a6ac41e07c66dc39790b16 (patch)
tree98588b0f2d6fe699e66f46b90cc9e18a91b19c11 /libc/sysdeps/linux/common/gettimeofday.c
parentabf6002032bff80c02a174086daceb2052ec6373 (diff)
gettimeofday: fix static build
Diffstat (limited to 'libc/sysdeps/linux/common/gettimeofday.c')
-rwxr-xr-xlibc/sysdeps/linux/common/gettimeofday.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/gettimeofday.c b/libc/sysdeps/linux/common/gettimeofday.c
index e5141088e..12473a8e6 100755
--- a/libc/sysdeps/linux/common/gettimeofday.c
+++ b/libc/sysdeps/linux/common/gettimeofday.c
@@ -9,8 +9,9 @@
#include <sys/syscall.h>
#include <sys/time.h>
+#ifdef SHARED
#include "ldso.h"
-
+#endif
#ifdef __VDSO_SUPPORT__