diff options
Diffstat (limited to 'source3/lib/interface.c')
-rw-r--r-- | source3/lib/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c index 0008ad889d..95c0b9d53c 100644 --- a/source3/lib/interface.c +++ b/source3/lib/interface.c @@ -155,7 +155,7 @@ static void get_broadcast(struct in_addr *if_ipaddr, } } } -#elif defined(__FreeBSD__) || defined(NETBSD) || defined(AMIGA) || defined(_AIX41) +#elif defined(__FreeBSD__) || defined(NETBSD) || defined(AMIGA) || defined(_AIX41) || defined(__OpenBSD__) ifc.ifc_len = sizeof(buff); ifc.ifc_buf = buff; if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) { |