summaryrefslogtreecommitdiffstats
path: root/vespalog
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahooinc.com>2023-09-29 14:47:26 +0200
committerTor Egge <Tor.Egge@yahooinc.com>2023-09-29 14:47:26 +0200
commita02e3f90f7885909e078ecff7baa77830f1afbd3 (patch)
tree7ecdb70f044e04e7731ba25c5345f1c4b2bfdace /vespalog
parentf0862db365dd351f5adc480649f9aba18cbd409d (diff)
Add missing includes, avoid shadow warning and skip including file not
present in llvm 17. Issues detected when compiling with clang++ 17 / libc++ 17 / llvm 17.
Diffstat (limited to 'vespalog')
-rw-r--r--vespalog/src/vespa/log/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vespalog/src/vespa/log/log.h b/vespalog/src/vespa/log/log.h
index 857bf4f2b97..edec06dae5e 100644
--- a/vespalog/src/vespa/log/log.h
+++ b/vespalog/src/vespa/log/log.h
@@ -1,6 +1,7 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
+#include <cstdarg>
#include <memory>
#include <new> // for placement new
#include <sys/types.h> // for pid_t