Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
sunos: fix build breakage introduced in e3a657c
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Jul 29, 2013
1 parent 0e7ba08 commit 167a817
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/unix/sunos.c
Expand Up @@ -580,8 +580,11 @@ int uv_interface_addresses(uv_interface_address_t** addresses, int* count) {
#ifdef SUNOS_NO_IFADDRS
return -ENOSYS;
#else
struct ifaddrs *addrs, *ent;
uv_interface_address_t* address;
struct sockaddr_dl* sa_addr;
struct ifaddrs* addrs;
struct ifaddrs* ent;
int i;

if (getifaddrs(&addrs))
return -errno;
Expand Down

0 comments on commit 167a817

Please sign in to comment.