summaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/tests/processtest.cpp1
-rw-r--r--fastos/src/vespa/fastos/unix_process.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/fastos/src/tests/processtest.cpp b/fastos/src/tests/processtest.cpp
index e39b6461a29..66e58df39b9 100644
--- a/fastos/src/tests/processtest.cpp
+++ b/fastos/src/tests/processtest.cpp
@@ -1,6 +1,7 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "tests.h"
#include <vespa/fastos/process.h>
+#include <thread>
using namespace std::chrono_literals;
using namespace std::chrono;
diff --git a/fastos/src/vespa/fastos/unix_process.cpp b/fastos/src/vespa/fastos/unix_process.cpp
index b66d5ce8346..8db3c714822 100644
--- a/fastos/src/vespa/fastos/unix_process.cpp
+++ b/fastos/src/vespa/fastos/unix_process.cpp
@@ -12,6 +12,7 @@
#ifndef __linux__
#include <signal.h>
#endif
+#include <thread>
#ifndef AF_LOCAL
#define AF_LOCAL AF_UNIX