Browse Source

gettimeofday: fix static build

Waldemar Brodkorb 11 months ago
parent
commit
b19f8f3609
1 changed files with 2 additions and 1 deletions
  1. 2 1
      libc/sysdeps/linux/common/gettimeofday.c

+ 2 - 1
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__