about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h b/sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h
index 1b1aea1283..07f6148be5 100644
--- a/sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h
+++ b/sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h
@@ -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 */