diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-11-23 15:19:41 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-11-23 15:19:41 +0000 |
commit | ea2c47b6befbe76dae29b55b27e86d54aa742d38 (patch) | |
tree | 9334050927c9d3f7e69c7b41f63183943a5c8ae5 /sysdeps/unix/sysv/linux/opensock.c | |
parent | 70d5b6ef41c5997ee7c039103626f1bd495d831b (diff) | |
download | glibc-ea2c47b6befbe76dae29b55b27e86d54aa742d38.tar.gz glibc-ea2c47b6befbe76dae29b55b27e86d54aa742d38.tar.xz glibc-ea2c47b6befbe76dae29b55b27e86d54aa742d38.zip |
* sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers):
Add netiucv/iucv.h. * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV protocol. * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. * sysdeps/unix/sysv/linux/s390/opensock.c: New file. * sysdeps/unix/sysv/linux/s390/sa_len.c: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/opensock.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/opensock.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/opensock.c b/sysdeps/unix/sysv/linux/opensock.c index 2252980789..95559eb799 100644 --- a/sysdeps/unix/sysv/linux/opensock.c +++ b/sysdeps/unix/sysv/linux/opensock.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2001, 2002, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -53,7 +53,10 @@ __opensock (void) { AF_APPLETALK, "net/appletalk" }, { AF_ECONET, "sys/net/econet" }, { AF_ASH, "sys/net/ash" }, - { AF_X25, "net/x25" } + { AF_X25, "net/x25" }, +#ifdef NEED_AF_IUCV + { AF_IUCV, "net/iucv" } +#endif }; #define nafs (sizeof (afs) / sizeof (afs[0])) char fname[sizeof "/proc/" + 14]; |