diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-22 13:06:07 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-22 13:06:07 +0000 |
commit | a0d4ac60dc373d2f18d9861087e0054d4e8f865d (patch) | |
tree | 92718cc3604293f2f1cbe63945bc49eb134427bf /mdk-stage1/dietlibc/include/sys | |
parent | d256d73891a4806211f9de9007ea0b465cead03b (diff) | |
download | drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.gz drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.bz2 drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.xz drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.zip |
have "init" compiled against dietlibc (rather than glibc) on non-Intel arch's
Diffstat (limited to 'mdk-stage1/dietlibc/include/sys')
-rw-r--r-- | mdk-stage1/dietlibc/include/sys/select.h | 6 | ||||
-rw-r--r-- | mdk-stage1/dietlibc/include/sys/socket.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/sys/select.h b/mdk-stage1/dietlibc/include/sys/select.h index e69de29bb..fa166a530 100644 --- a/mdk-stage1/dietlibc/include/sys/select.h +++ b/mdk-stage1/dietlibc/include/sys/select.h @@ -0,0 +1,6 @@ +#ifndef _SYS_SELECT_H +#define _SYS_SELECT_H 1 + +int select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); + +#endif diff --git a/mdk-stage1/dietlibc/include/sys/socket.h b/mdk-stage1/dietlibc/include/sys/socket.h index 659c88e99..f590c35c4 100644 --- a/mdk-stage1/dietlibc/include/sys/socket.h +++ b/mdk-stage1/dietlibc/include/sys/socket.h @@ -5,6 +5,7 @@ #include <linux/socket.h> int socket(int domain, int type, int protocol); +int listen (int fd, int n); int accept(int s, struct sockaddr *addr, socklen_t *addrlen); int connect(int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen); int bind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen); |