summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/atomic/atomic_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-06-02 11:35:21 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-06-06 09:12:37 +0200
commit8e0c48091d4c944bec4a4c56ae49f25125262c82 (patch)
treef6d0d31e88b7db3f88fb11dc71437ea35db8e112 /vespalib/src/tests/atomic/atomic_test.cpp
parentf54e69173d5bea16c9ee898246bc894260035631 (diff)
Forward declare ByteBuffer and FastOS_Thread
Diffstat (limited to 'vespalib/src/tests/atomic/atomic_test.cpp')
-rw-r--r--vespalib/src/tests/atomic/atomic_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/vespalib/src/tests/atomic/atomic_test.cpp b/vespalib/src/tests/atomic/atomic_test.cpp
index 1133d9b51bd..09fc99edeb9 100644
--- a/vespalib/src/tests/atomic/atomic_test.cpp
+++ b/vespalib/src/tests/atomic/atomic_test.cpp
@@ -1,12 +1,14 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/log/log.h>
-LOG_SETUP("atomic_test");
+
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/vespalib/util/atomic.h>
+#include <vespa/fastos/thread.h>
#include <vector>
#include <algorithm>
#include <sstream>
+#include <vespa/log/log.h>
+LOG_SETUP("atomic_test");
class Test : public vespalib::TestApp
{