Fix _SIZEOF_ADDR_IFREQ() macro definition: there is no ifreq type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39746 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fd5a5935a7
commit
42bd140546
@ -109,8 +109,8 @@ struct ifconf {
|
||||
/* Macro that returns the size of a single address within a SIOCGIFCONF buffer;
|
||||
it looks like this because of compatibility with other platforms. */
|
||||
#define _SIZEOF_ADDR_IFREQ(request) \
|
||||
(IF_NAMESIZE + (request).ifr_addr.sa_len > (int)sizeof(ifreq) \
|
||||
? IF_NAMESIZE + (request).ifr_addr.sa_len : sizeof(ifreq))
|
||||
(IF_NAMESIZE + (request).ifr_addr.sa_len > (int)sizeof(struct ifreq) \
|
||||
? IF_NAMESIZE + (request).ifr_addr.sa_len : sizeof(struct ifreq))
|
||||
|
||||
|
||||
/* POSIX definitions follow */
|
||||
|
Loading…
Reference in New Issue
Block a user