From: Thomas Jarosch Date: Sat, 27 Dec 2025 16:23:02 +0000 (+0100) Subject: Fix Boost system_error include path X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=8f74eca62d85897a36217f98f9838b5136006630;p=pingcheck Fix Boost system_error include path Use instead of for newer Boost versions. --- diff --git a/src/host/pingerfactory.cpp b/src/host/pingerfactory.cpp index 75d43ed..f466172 100644 --- a/src/host/pingerfactory.cpp +++ b/src/host/pingerfactory.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include #include @@ -113,7 +113,7 @@ PingerItem PingerFactory::createPinger( return PingerItem(); //lint !e527 } } - catch ( const system_error &ex ) + catch ( const boost::system::system_error &ex ) { // Raw sockets are locked down by Unix operating systems to prevent // malware and security holes, thus it requires root access to use it. @@ -124,4 +124,3 @@ PingerItem PingerFactory::createPinger( return PingerItem(); //lint !e527 } -