summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ReedSolomon.cpp1
-rw-r--r--src/RemoteControl.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ReedSolomon.cpp b/src/ReedSolomon.cpp
index 38d8ea8..9428e4b 100644
--- a/src/ReedSolomon.cpp
+++ b/src/ReedSolomon.cpp
@@ -31,6 +31,7 @@
#include <sstream>
#include <stdio.h> // For galois.h ...
#include <string.h> // For memcpy
+#include <cstdint>
extern "C" {
#include "fec/fec.h"
diff --git a/src/RemoteControl.cpp b/src/RemoteControl.cpp
index 18c74b7..8e275e8 100644
--- a/src/RemoteControl.cpp
+++ b/src/RemoteControl.cpp
@@ -198,7 +198,7 @@ void RemoteControllerTelnet::process(long)
// Add a job to start accepting connections.
boost::shared_ptr<tcp::socket> socket(
- new tcp::socket(acceptor.get_io_service()));
+ new tcp::socket(acceptor.get_executor()));
// Add an accept call to the service. This will prevent io_service::run()
// from returning.