commit | 9b90344445d0a753e8a4a8a926c67d6a6c051c5e | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Oct 21 05:51:28 2009 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Oct 21 05:51:28 2009 +0000 |
tree | 0592ac49bbbee220c31b3bd9a952d8f13e44ccc2 | |
parent | 72fd472476a68dc55ca8cbfb05452d6c69fb0d19 [diff] [blame] |
THRIFT-606. cpp: Fix build on Solaris Nevada git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@827890 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/server/TNonblockingServer.cpp b/lib/cpp/src/server/TNonblockingServer.cpp index 32f021a..1076455 100644 --- a/lib/cpp/src/server/TNonblockingServer.cpp +++ b/lib/cpp/src/server/TNonblockingServer.cpp
@@ -29,6 +29,10 @@ #include <errno.h> #include <assert.h> +#ifndef AF_LOCAL +#define AF_LOCAL AF_UNIX +#endif + namespace apache { namespace thrift { namespace server { using namespace apache::thrift::protocol;