Skip to content

Commit 1ae3703

Browse files
committed
Fix Linux build.
1 parent 2475204 commit 1ae3703

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/SendDataInChunks.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <cmath>
22
#include <iostream>
33
#include <map>
4+
#include <cstring>
45
#include <lsl_cpp.h>
56
#include <thread>
67
#include <algorithm>
@@ -48,7 +49,7 @@ struct fake_device {
4849
magnitude * static_cast<int16_t>(sin(M_PI * chan_ix * sample_ix / n_channels)));
4950
}
5051
}
51-
last_time = std::chrono::high_resolution_clock::now();
52+
last_time = std::chrono::steady_clock::now();
5253
}
5354

5455
std::vector<int16_t> get_data() {

0 commit comments

Comments
 (0)