aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/system.h2
-rw-r--r--src/util/tokenpipe.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/util/system.h b/src/util/system.h
index 4c965ce114..291f3f5541 100644
--- a/src/util/system.h
+++ b/src/util/system.h
@@ -19,7 +19,6 @@
#include <compat/assumptions.h>
#include <fs.h>
#include <logging.h>
-#include <optional>
#include <sync.h>
#include <tinyformat.h>
#include <util/settings.h>
@@ -28,6 +27,7 @@
#include <exception>
#include <map>
+#include <optional>
#include <set>
#include <stdint.h>
#include <string>
diff --git a/src/util/tokenpipe.cpp b/src/util/tokenpipe.cpp
index 79465dd430..4c091cd2e6 100644
--- a/src/util/tokenpipe.cpp
+++ b/src/util/tokenpipe.cpp
@@ -9,6 +9,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <optional>
#include <unistd.h>
TokenPipeEnd TokenPipe::TakeReadEnd()