From: Fred Morcos Date: Tue, 15 Aug 2023 11:22:34 +0000 (+0200) Subject: gettime: fix minor compilation warnings X-Git-Tag: rec-5.0.0-alpha1~59^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13139%2Fhead;p=thirdparty%2Fpdns.git gettime: fix minor compilation warnings --- diff --git a/pdns/gettime.cc b/pdns/gettime.cc index b6d95a4ed2..e7b37b65d4 100644 --- a/pdns/gettime.cc +++ b/pdns/gettime.cc @@ -36,8 +36,9 @@ int gettime(struct timespec *tp, bool needRealTime) #else #include +#include -int gettime(struct timespec *tp, bool needRealTime) +int gettime(struct timespec *tp, bool /* needRealTime */) { struct timeval tv;