summaryrefslogtreecommitdiffstats
path: root/fastos/src/tests/threadtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/tests/threadtest.cpp')
-rw-r--r--fastos/src/tests/threadtest.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/fastos/src/tests/threadtest.cpp b/fastos/src/tests/threadtest.cpp
index 116cea4cfd4..034af304e6e 100644
--- a/fastos/src/tests/threadtest.cpp
+++ b/fastos/src/tests/threadtest.cpp
@@ -1,11 +1,10 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <stdlib.h>
-#include <vespa/fastos/fastos.h>
#include "tests.h"
#include "job.h"
#include "thread_test_base.hpp"
-
+#include <vespa/fastos/time.h>
+#include <cstdlib>
#define MUTEX_TEST_THREADS 6
#define MAX_THREADS 7
@@ -13,7 +12,7 @@
class ThreadTest : public ThreadTestBase
{
- int Main ();
+ int Main () override;
void WaitForXThreadsToHaveWait (Job *jobs,
int jobCount,