aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/bits/socket.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-02 08:01:25 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-02 08:01:25 +0000
commit23a7de4bb4d15afaab7edf400fc56f7573a23720 (patch)
treeaac52be77164118fc1954cfa003ae81c96472160 /sysdeps/unix/sysv/linux/mips/bits/socket.h
parent9de792e3c0cb05a1d7cf17dc5f2dc19e10847fc3 (diff)
downloadglibc-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.h5
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