瀏覽代碼

gettimeofday: fix static build

Waldemar Brodkorb 2 年之前
父節點
當前提交
b19f8f3609
共有 1 個文件被更改,包括 2 次插入1 次删除
  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__