aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-18 04:56:51 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-19 14:15:44 +0000
commit6a33e844b93f483f09bca7cda744cae538209369 (patch)
treea5c004564ca5edf33686bc4c964106011b048d25 /staging_vespalib
parentef031ed8d62e86a7355200b6982682d39dee5032 (diff)
Do not include fastos.h in header files.
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/timer.cpp2
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/timer.h5
2 files changed, 5 insertions, 2 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/timer.cpp b/staging_vespalib/src/vespa/vespalib/util/timer.cpp
index 2e19de231e3..4a719e69665 100644
--- a/staging_vespalib/src/vespa/vespalib/util/timer.cpp
+++ b/staging_vespalib/src/vespa/vespalib/util/timer.cpp
@@ -1,6 +1,6 @@
// 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 "timer.h"
+#include <vespa/fnet/fnet.h>
namespace vespalib {
diff --git a/staging_vespalib/src/vespa/vespalib/util/timer.h b/staging_vespalib/src/vespa/vespalib/util/timer.h
index 66584f69e10..963d6224fa0 100644
--- a/staging_vespalib/src/vespa/vespalib/util/timer.h
+++ b/staging_vespalib/src/vespa/vespalib/util/timer.h
@@ -4,7 +4,10 @@
#include <vespa/vespalib/util/linkedptr.h>
#include <vespa/vespalib/util/executor.h>
#include <vespa/vespalib/util/sync.h>
-#include <vespa/fnet/fnet.h>
+#include <vespa/fastos/thread.h>
+#include <vector>
+
+class FNET_Transport;
namespace vespalib {