35 lines
985 B
Plaintext
35 lines
985 B
Plaintext
From 40ea57fdd0aab9b658adf7c4584103789785dbd5 Mon Sep 17 00:00:00 2001
|
|
From: Adrien Destugues <pulkomandy@gmail.com>
|
|
Date: Thu, 11 Jun 2015 01:54:41 +0200
|
|
Subject: Haiku hacks.
|
|
|
|
|
|
diff --git a/SConstruct b/SConstruct
|
|
index bb8279e..a61b0ad 100644
|
|
--- a/SConstruct
|
|
+++ b/SConstruct
|
|
@@ -244,6 +244,7 @@ else:
|
|
# note: for some magic reason, now doesn't need to put the full path for
|
|
# SDL_mixer when using mingw crosscompilation
|
|
env.Append( LIBS = ['SDL_mixer' ] )
|
|
+ env.Append( LIBS = ['network' ] )
|
|
|
|
################################################################
|
|
# Makes libs
|
|
diff --git a/src/Lib/Network/SocketSet.hpp b/src/Lib/Network/SocketSet.hpp
|
|
index 1cefe1f..1b9c730 100644
|
|
--- a/src/Lib/Network/SocketSet.hpp
|
|
+++ b/src/Lib/Network/SocketSet.hpp
|
|
@@ -22,6 +22,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
#include "SocketBase.hpp"
|
|
#include "Util/NoCopy.hpp"
|
|
|
|
+#include <sys/select.h>
|
|
+
|
|
namespace network
|
|
{
|
|
|
|
--
|
|
2.2.2
|
|
|