3 #include <sys/socket.h>
5 #include <netinet/in.h>
7 #include "compiler/compiler.h"
10 int __weak posix_fallocate(int fd, off_t offset, off_t len)
15 int __weak inet_aton(const char *cp, struct in_addr *inp)
20 int __weak clock_gettime(clockid_t clk_id, struct timespec *ts)
25 ret = gettimeofday(&tv, NULL);
27 ts->tv_sec = tv.tv_sec;
28 ts->tv_nsec = tv.tv_usec * 1000;