This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Define _HAVE_SA_LEN for 4.4 BSD


For 4.4 BSD we obviously need to define _HAVE_SA_LEN.  This fixes a
compilation problem for the Hurd since we use the 4.4 BSD `struct
sockaddr_*'.

Mark


2001-02-10  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.


Index: sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h,v
retrieving revision 1.3
diff -u -p -r1.3 sockaddr.h
--- sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h 2001/01/31 06:14:55 1.3
+++ sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h 2001/02/10 12:45:46
@@ -38,4 +38,6 @@ typedef unsigned char sa_family_t;
 
 #define __SOCKADDR_COMMON_SIZE	(2 * sizeof (unsigned char))
 
+#define _HAVE_SA_LEN	1	/* We have the sa_len field.  */
+
 #endif	/* bits/sockaddr.h */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]