diff --git a/pom.xml b/pom.xml index d6085b993f397fab4d88b0fc63b917bc1f34707c..0e305cda243d5f7c2b3cc11d68ec91b18b60330c 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ </parent> <groupId>fr.soleil.device</groupId> <artifactId>AcquireWaveformLecroy-${aol}-${mode}</artifactId> - <version>1.1.10</version> + <version>1.1.11</version> <packaging>nar</packaging> <name>AcquireWaveformLecroy</name> <description>AcquireWaveformLecroy device</description> @@ -65,4 +65,4 @@ <timezone>1</timezone> </developer> </developers> -</project> \ No newline at end of file +</project> diff --git a/src/LinuxSocketLecroy.cpp b/src/LinuxSocketLecroy.cpp index 32d3b9daf98c57142644c741b341fa3c93f10e54..9db1e913fcd859a1337f0e83a9b68922e3ca1862 100644 --- a/src/LinuxSocketLecroy.cpp +++ b/src/LinuxSocketLecroy.cpp @@ -26,6 +26,7 @@ #include <netinet/tcp.h> #include <arpa/inet.h> #include <netdb.h> +#include <stdio.h> #include <sys/select.h> #include <sys/types.h> @@ -171,7 +172,7 @@ char tmpStr[256]; //- connect to server (scope) if (result < 0) { - sprintf(tmpStr, "Unable to make connection to IP:%s", ip_address); + sprintf(tmpStr, "Unable to make connection to IP:%s", ip_address); throw lecroy::SocketException("COMMUNICATION_BROKEN ", tmpStr, "SocketLecroy::TCP_Connect( )."); diff --git a/src/Waveform.cpp b/src/Waveform.cpp index 6bfb95602b119826ee878ea1ebd0bf06dd24a541..3b703eca325a858e7a8cffd5e2533baed8fdf817 100644 --- a/src/Waveform.cpp +++ b/src/Waveform.cpp @@ -15,6 +15,7 @@ #include "Waveform.h" #include "SocketLecroy.h" #include <iostream> +#include <string.h> //using namespace std;