From 6a2e7bbc02c0f1b1ee404b13b5035d4027abd506 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Sat, 16 Oct 2021 17:36:56 +0200 Subject: [PATCH] protocol/ArgParser.cxx: Add missing #include Fixes a build problem on platforms where stdio.h is not included transitively. snprintf() is defined in stdio.h. --- src/protocol/ArgParser.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protocol/ArgParser.cxx b/src/protocol/ArgParser.cxx index 123182f72..72190d9de 100644 --- a/src/protocol/ArgParser.cxx +++ b/src/protocol/ArgParser.cxx @@ -23,6 +23,7 @@ #include "Chrono.hxx" #include "util/NumberParser.hxx" +#include #include static inline ProtocolError