From ea0d7afd806674b76d75c4e543483c0d482c08ab Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Tue, 15 Aug 2023 13:22:34 +0200 Subject: [PATCH] gettime: fix minor compilation warnings --- pdns/gettime.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/gettime.cc b/pdns/gettime.cc index b6d95a4ed29f..e7b37b65d43f 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;