diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2000-04-02 08:01:25 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2000-04-02 08:01:25 +0000 |
| commit | 23a7de4bb4d15afaab7edf400fc56f7573a23720 (patch) | |
| tree | aac52be77164118fc1954cfa003ae81c96472160 /sysdeps/unix/sysv/linux/mips/bits/socket.h | |
| parent | 9de792e3c0cb05a1d7cf17dc5f2dc19e10847fc3 (diff) | |
| download | glibc-23a7de4bb4d15afaab7edf400fc56f7573a23720.tar.xz glibc-23a7de4bb4d15afaab7edf400fc56f7573a23720.zip | |
Use __socklen_t to define socklen_t. Allow definition elsewhere.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/bits/socket.h')
| -rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/socket.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/socket.h b/sysdeps/unix/sysv/linux/mips/bits/socket.h index 747b11905d..1462331ff7 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/socket.h +++ b/sysdeps/unix/sysv/linux/mips/bits/socket.h @@ -32,7 +32,10 @@ #include <sys/types.h> /* Type for length arguments in socket calls. */ -typedef unsigned int socklen_t; +#ifndef __socklen_t_defined +typedef __socklen_t socklen_t; +# define __socklen_t_defined +#endif /* Types of sockets. */ enum __socket_type |
