summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/signalhandler/signalhandler_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/tests/signalhandler/signalhandler_test.cpp')
-rw-r--r--vespalib/src/tests/signalhandler/signalhandler_test.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/vespalib/src/tests/signalhandler/signalhandler_test.cpp b/vespalib/src/tests/signalhandler/signalhandler_test.cpp
index a83661e8697..b11cc5746d9 100644
--- a/vespalib/src/tests/signalhandler/signalhandler_test.cpp
+++ b/vespalib/src/tests/signalhandler/signalhandler_test.cpp
@@ -1,8 +1,11 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/log/log.h>
-LOG_SETUP("signalhandler_test");
+
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/vespalib/util/signalhandler.h>
+#include <unistd.h>
+
+#include <vespa/log/log.h>
+LOG_SETUP("signalhandler_test");
using namespace vespalib;