Skip to content

Commit 1eaf9a8

Browse files
committed
fixup! Fix build failures
This reverts a part of commit 866aa08, as it's no longer necessary after the previous two commits.
1 parent 14afb82 commit 1eaf9a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/lib/libc/musl/arch/emscripten/syscall_arch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ int __syscall_uname(struct utsname *buf);
4949
int __syscall_mprotect(size_t start, size_t len, int prot);
5050
pid_t __syscall_getpgid(pid_t pid);
5151
int __syscall_fchdir(int fd);
52-
int __syscall__newselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, void *timeout);
52+
int __syscall__newselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
5353
int __syscall_msync(void *addr, size_t len, int flags);
5454
pid_t __syscall_getsid(pid_t pid);
5555
int __syscall_fdatasync(int fd);
@@ -99,7 +99,7 @@ int __syscall_symlinkat(const char *target, int newdirfd, const char *linkpath);
9999
int __syscall_readlinkat(int dirfd, const char *path, char *buf, size_t bufsize);
100100
int __syscall_fchmodat2(int dirfd, const char *path, mode_t mode, int flags);
101101
int __syscall_faccessat(int dirfd, const char *path, int amode, int flags);
102-
int __syscall_pselect6(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, const void *ts, const void *mask);
102+
int __syscall_pselect6(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, const struct timespec *ts, const void *mask);
103103
int __syscall_utimensat(int dirfd, const char *path, const struct timespec times[2], int flags);
104104
int __syscall_fallocate(int fd, int mode, off_t offset, off_t len);
105105
int __syscall_dup3(int oldfd, int newfd, int flags);

0 commit comments

Comments
 (0)