[DEV] remove dependency of unistd.h

This commit is contained in:
2016-10-13 21:29:18 +02:00
parent abc2ce6a49
commit a5ca43b7dd
11 changed files with 42 additions and 40 deletions

View File

@@ -12,7 +12,8 @@
//! [audio_river_sample_include]
#include <etk/os/FSNode.hpp>
#include <etk/etk.hpp>
#include <unistd.h>
#include <thread>
//! [audio_river_sample_read_config_file]
@@ -148,7 +149,7 @@ int main(int _argc, const char **_argv) {
// start the stream
interface->start();
// wait 10 second ...
sleep(10);
std::this_thread::sleep_for(std::chrono::seconds(10));
// stop the stream
interface->stop();
//! [audio_river_sample_read_start_stop]