summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-04-25 18:07:17 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-04-25 18:07:17 +0200
commit9024634047db64355edca803d6146b233bdff00f (patch)
treed795c13a40cc17dfbe6e8f46d9f38f0902a54d46
parentd2347c9fdda8d21ede3f91ae8a4873ac04b498aa (diff)
Solaris build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r--src/address.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/address.cpp b/src/address.cpp
index 8fb40f0..597bbad 100644
--- a/src/address.cpp
+++ b/src/address.cpp
@@ -59,7 +59,7 @@ static int resolve_nic_name (xs::address_t *self_, const char *nic_,
(void) ipv4only_;
// Create a socket.
- int fd = open_socket (AF_INET, SOCK_DGRAM, 0);
+ int fd = xs::open_socket (AF_INET, SOCK_DGRAM, 0);
xs_assert (fd != -1);
// Retrieve number of interfaces.
@@ -125,7 +125,7 @@ static int resolve_nic_name (xs::address_t *self_, const char *nic_,
(void) ipv4only_;
// Create a socket.
- int sd = open_socket (AF_INET, SOCK_DGRAM, 0);
+ int sd = xs::open_socket (AF_INET, SOCK_DGRAM, 0);
xs_assert (sd != -1);
struct ifreq ifr;