--- a/sources/network/rconsession.cpp Fri May 15 21:43:21 2015 +0300 +++ b/sources/network/rconsession.cpp Tue May 26 11:41:58 2015 +0300 @@ -28,6 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <time.h> #include "rconsession.h" #include "../interface.h" @@ -41,7 +42,7 @@ { if (not m_socket.set_blocking (false)) { - print_to (stderr, "unable to set socket as non-blocking: %s\n", + print_to (stderr, "unable to set socket as non-blocking: %1\n", m_socket.error_string().chars()); exit (EXIT_FAILURE); }