You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/05/21 04:28:27 UTC

svn commit: r776929 - in /incubator/thrift/trunk/lib/cpp/src: concurrency/test/ThreadFactoryTests.h server/TNonblockingServer.h transport/TFileTransport.h transport/TServerSocket.cpp

Author: dreiss
Date: Thu May 21 02:28:27 2009
New Revision: 776929

URL: http://svn.apache.org/viewvc?rev=776929&view=rev
Log:
cpp: Add some missing includes to fix OpenBSD compilation

Modified:
    incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
    incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h
    incubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.h
    incubator/thrift/trunk/lib/cpp/src/transport/TServerSocket.cpp

Modified: incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h?rev=776929&r1=776928&r2=776929&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h Thu May 21 02:28:27 2009
@@ -24,6 +24,7 @@
 #include <concurrency/Util.h>
 
 #include <assert.h>
+#include <unistd.h>
 #include <iostream>
 #include <set>
 

Modified: incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h?rev=776929&r1=776928&r2=776929&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h Thu May 21 02:28:27 2009
@@ -28,6 +28,7 @@
 #include <string>
 #include <errno.h>
 #include <cstdlib>
+#include <unistd.h>
 #include <event.h>
 
 namespace apache { namespace thrift { namespace server {

Modified: incubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.h?rev=776929&r1=776928&r2=776929&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.h Thu May 21 02:28:27 2009
@@ -27,6 +27,8 @@
 #include <string>
 #include <stdio.h>
 
+#include <pthread.h>
+
 #include <boost/shared_ptr.hpp>
 
 namespace apache { namespace thrift { namespace transport {

Modified: incubator/thrift/trunk/lib/cpp/src/transport/TServerSocket.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/transport/TServerSocket.cpp?rev=776929&r1=776928&r2=776929&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/transport/TServerSocket.cpp (original)
+++ incubator/thrift/trunk/lib/cpp/src/transport/TServerSocket.cpp Thu May 21 02:28:27 2009
@@ -26,6 +26,7 @@
 #include <netdb.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <unistd.h>
 
 #include "TSocket.h"
 #include "TServerSocket.h"