aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
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 {