aboutsummaryrefslogtreecommitdiffstats
path: root/vespalog
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-01-26 13:57:33 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-01-26 13:57:33 +0100
commit06669441cbbdef1d9d493576c6301d7b71874d65 (patch)
tree1edbb7f6b489234c27a028834700d1b2a2d7c1e3 /vespalog
parentea8fd1e82c99554fdc5a0918b687b0b16b90ac89 (diff)
Add include statements needed by newer build environments.
Diffstat (limited to 'vespalog')
-rw-r--r--vespalog/src/vespa/log/log-assert.cpp1
-rw-r--r--vespalog/src/vespa/log/log.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/vespalog/src/vespa/log/log-assert.cpp b/vespalog/src/vespa/log/log-assert.cpp
index 51ab7a019ad..28fac730189 100644
--- a/vespalog/src/vespa/log/log-assert.cpp
+++ b/vespalog/src/vespa/log/log-assert.cpp
@@ -1,6 +1,7 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "log.h"
+#include <cstdio>
LOG_SETUP("");
namespace ns_log {
diff --git a/vespalog/src/vespa/log/log.h b/vespalog/src/vespa/log/log.h
index ba2408240f3..b4dfc612890 100644
--- a/vespalog/src/vespa/log/log.h
+++ b/vespalog/src/vespa/log/log.h
@@ -7,6 +7,7 @@
#include <new> // for placement new
#include <cstdlib> // for malloc
#include <cstring> // for memset
+#include <cstdarg> // for va_list
#include <cinttypes>
/**