From 10f2b2a6a1fe91e7b29fa74013baa0cf091bd64b Mon Sep 17 00:00:00 2001 From: Manuel Teira Paz Date: Tue, 10 Mar 2009 08:19:28 +0000 Subject: configure.ac: - Add a SOCKLIBS definition, to define needed network libraries in Solaris src/tests/failover_soak.cpp - Replace usage of timersub with direct code, since timersub appears to be non-posix. src/tests/Makefile.am - Link against $(SOCKLIBS) when needed src/tests/* - Some qualifying needed for the Sun compiler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@752019 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/DispatcherTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src/tests/DispatcherTest.cpp') diff --git a/qpid/cpp/src/tests/DispatcherTest.cpp b/qpid/cpp/src/tests/DispatcherTest.cpp index ff4806094b..c619a36438 100644 --- a/qpid/cpp/src/tests/DispatcherTest.cpp +++ b/qpid/cpp/src/tests/DispatcherTest.cpp @@ -129,7 +129,7 @@ int main(int /*argc*/, char** /*argv*/) // Setup sender and receiver int sv[2]; - int rc = ::socketpair(AF_LOCAL, SOCK_STREAM, 0, sv); + int rc = ::socketpair(AF_UNIX, SOCK_STREAM, 0, sv); assert(rc >= 0); // Set non-blocking -- cgit v1.2.1