From bb37915419c92539129343611cfd9bf3cdfc0bda Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Tue, 5 Feb 2019 14:44:49 +0100 Subject: [PATCH] stdexcept added to compile --- slsSupportLib/src/ClientSocket.cpp | 3 ++- slsSupportLib/src/ServerSocket.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/slsSupportLib/src/ClientSocket.cpp b/slsSupportLib/src/ClientSocket.cpp index feed1b23c..4ca000ef4 100644 --- a/slsSupportLib/src/ClientSocket.cpp +++ b/slsSupportLib/src/ClientSocket.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include "sls_detector_defs.h" namespace sls { @@ -60,4 +61,4 @@ void ClientSocket::readReply(int &ret, void *retval, size_t retval_size) { receiveData(retval, retval_size); } -}; //namespace sls \ No newline at end of file +}; //namespace sls diff --git a/slsSupportLib/src/ServerSocket.cpp b/slsSupportLib/src/ServerSocket.cpp index 0f71dcaa7..3107277b1 100644 --- a/slsSupportLib/src/ServerSocket.cpp +++ b/slsSupportLib/src/ServerSocket.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #define DEFAULT_PACKET_SIZE 1286 #define SOCKET_BUFFER_SIZE (100 * 1024 * 1024) //100 MB #define DEFAULT_BACKLOG 5 @@ -43,4 +44,4 @@ DataSocket ServerSocket::accept() { return DataSocket(newSocket); } -}; //namespace sls \ No newline at end of file +}; //namespace sls