diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-04 00:54:10 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-04 00:54:19 +0100 |
commit | 85d99571661e6483bf4ba6814dd4f97f6a39f8c5 (patch) | |
tree | 4621e2f27e4d78d3c5a49a3bbadec88155671b53 /src | |
parent | Good progress (diff) | |
download | lowbat-gnu-85d99571661e6483bf4ba6814dd4f97f6a39f8c5.tar.gz lowbat-gnu-85d99571661e6483bf4ba6814dd4f97f6a39f8c5.tar.bz2 lowbat-gnu-85d99571661e6483bf4ba6814dd4f97f6a39f8c5.tar.xz lowbat-gnu-85d99571661e6483bf4ba6814dd4f97f6a39f8c5.tar.zst lowbat-gnu-85d99571661e6483bf4ba6814dd4f97f6a39f8c5.zip |
Better includes, better Makefile
Diffstat (limited to '')
-rw-r--r-- | src/jo_exec.cpp | 2 | ||||
-rw-r--r-- | src/main.cpp | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/jo_exec.cpp b/src/jo_exec.cpp index a97012c..04efb66 100644 --- a/src/jo_exec.cpp +++ b/src/jo_exec.cpp @@ -1,4 +1,6 @@ #include <jo_lowbat.hpp> +#include <array> +#include <memory> string jo_exec(const char* cmd) { diff --git a/src/main.cpp b/src/main.cpp index 88471e7..71f7147 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,12 @@ #include <jo_lowbat.hpp> +#include <cstring> +#include <thread> +#include <chrono> #include <algorithm> +using namespace this_thread; +using namespace chrono; + int main(int argc, const char *argv[]) { string msg; string acstat; |