]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
USe C++ style includes for C header files
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 27 Oct 2025 10:05:38 +0000 (11:05 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 12 Nov 2025 08:09:27 +0000 (09:09 +0100)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
modules/geoipbackend/geoipbackend.cc

index 0a10b031fd1d8461d441af196ffb4b6f244c75f7..0c4f90027fe4a44bfdc722f56cac79a96974e548 100644 (file)
@@ -34,7 +34,7 @@
 #include <fstream>
 #include <filesystem>
 #include <utility>
-#include <math.h>
+#include <cmath>
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wshadow"
 #include <yaml-cpp/yaml.h>