summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorlordrasmus <lordrasmus@gmail.com>2023-05-30 12:06:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-08-14 10:18:17 +0200
commit3166c618f3388c481debf44fb34a33806012d228 (patch)
tree1c0d09c4ae0fe039ee2f911a7039814b39e1a051 /libc/sysdeps/linux
parente5662feb044ea940f4ec697434c1a9bd96c02ad3 (diff)
gettimeofday() only include ldso.h if vdso support is activated
Diffstat (limited to 'libc/sysdeps/linux')
-rwxr-xr-xlibc/sysdeps/linux/common/gettimeofday.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/gettimeofday.c b/libc/sysdeps/linux/common/gettimeofday.c
index 12473a8e6..d9cf3bb84 100755
--- a/libc/sysdeps/linux/common/gettimeofday.c
+++ b/libc/sysdeps/linux/common/gettimeofday.c
@@ -9,7 +9,7 @@
#include <sys/syscall.h>
#include <sys/time.h>
-#ifdef SHARED
+#ifdef __VDSO_SUPPORT__
#include "ldso.h"
#endif