summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-17 12:10:09 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-19 14:15:42 +0000
commitcb50c6b71e1b5ed0b2d7adee0c7ef5d22c18e806 (patch)
treeb9d12329b5e618976a13356d232633a1074efb85 /staging_vespalib
parent817991c5182f896273cde10534ddd4376ee2d8d2 (diff)
Do not include fastos.h in header files.
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/clock.cpp2
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/clock.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/clock.cpp b/staging_vespalib/src/vespa/vespalib/util/clock.cpp
index 951f9797d62..c538f53b151 100644
--- a/staging_vespalib/src/vespa/vespalib/util/clock.cpp
+++ b/staging_vespalib/src/vespa/vespalib/util/clock.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
#include "clock.h"
-#include <vespa/fastos/timestamp.h>
using namespace fastos;
diff --git a/staging_vespalib/src/vespa/vespalib/util/clock.h b/staging_vespalib/src/vespa/vespalib/util/clock.h
index 8eb8e147a35..02311367fbb 100644
--- a/staging_vespalib/src/vespa/vespalib/util/clock.h
+++ b/staging_vespalib/src/vespa/vespalib/util/clock.h
@@ -1,7 +1,8 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-#include <vespa/fastos/fastos.h>
+#include <vespa/fastos/thread.h>
+#include <vespa/fastos/cond.h>
#include <vespa/fastos/timestamp.h>
namespace vespalib {