summaryrefslogtreecommitdiffstats
path: root/vespalog/src/logctl/logctl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalog/src/logctl/logctl.cpp')
-rw-r--r--vespalog/src/logctl/logctl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/vespalog/src/logctl/logctl.cpp b/vespalog/src/logctl/logctl.cpp
index 4cf44e9cd22..9a8987fc462 100644
--- a/vespalog/src/logctl/logctl.cpp
+++ b/vespalog/src/logctl/logctl.cpp
@@ -6,6 +6,7 @@
#include <vespa/log/component.h>
#include <optional>
+#include <cstring>
#include <unistd.h>
#include <dirent.h>
#include <sys/stat.h>
@@ -16,7 +17,7 @@ LOG_SETUP("vespa-logctl");
using namespace ns_log;
static void modifyLevels(const char *file, const char *component, const char *levels,
- bool shouldCreateFile, bool shouldCreateEntry);
+ bool shouldCreateFile, bool shouldCreateEntry);
static void readLevels(const char *file, const char *component);