Explorar el Código

gettimeofday: fix static build

Waldemar Brodkorb hace 2 años
padre
commit
b19f8f3609
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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/syscall.h>
 #include <sys/time.h>
 #include <sys/time.h>
 
 
+#ifdef SHARED
 #include "ldso.h"
 #include "ldso.h"
-
+#endif
 
 
 
 
 #ifdef __VDSO_SUPPORT__
 #ifdef __VDSO_SUPPORT__