Changeset - 596a58abb665
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-05-21 09:24:41
hanzz.k@gmail.com
Fixed compilation on F17
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
plugin/cpp/networkplugin.cpp
Show inline comments
 
@@ -17,24 +17,26 @@
 
 * along with this program; if not, write to the Free Software
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
 
 */
 

	
 
#include "transport/networkplugin.h"
 
#include "transport/memoryusage.h"
 
#include "transport/logging.h"
 

	
 
#include <sstream>
 

	
 
#ifndef WIN32
 
#include <arpa/inet.h>
 
#include <sys/types.h>
 
#include <unistd.h>
 
#else 
 
#include <winsock2.h>
 
#include <stdint.h>
 
#include <process.h>
 
#define getpid _getpid
 
#endif
 

	
 
DEFINE_LOGGER(logger, "NetworkPlugin");
 

	
 
namespace Transport {
 

	
 
#define WRAP(MESSAGE, TYPE) 	pbnetwork::WrapperMessage wrap; \
0 comments (0 inline, 0 general)