From bb59a9d961efb3c88999f02204bd7cfb5cb45e54 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 24 Apr 2024 15:01:26 -0700 Subject: [PATCH] fix compilation with GCC14 algorithm include is needed. Signed-off-by: Rosen Penev --- src/api/upnpapi.cpp | 1 + src/ssdp/ssdp_ctrlpt.cpp | 1 + src/webserver/webserver.cpp | 8 ++++---- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/upnpapi.cpp b/src/api/upnpapi.cpp index 3765f5b..cce88fb 100644 --- a/src/api/upnpapi.cpp +++ b/src/api/upnpapi.cpp @@ -32,6 +32,7 @@ #include "config.h" +#include #include #include #include diff --git a/src/ssdp/ssdp_ctrlpt.cpp b/src/ssdp/ssdp_ctrlpt.cpp index bfddf95..0f41649 100644 --- a/src/ssdp/ssdp_ctrlpt.cpp +++ b/src/ssdp/ssdp_ctrlpt.cpp @@ -36,6 +36,7 @@ nnn * Redistribution and use in source and binary forms, with or without #ifdef INCLUDE_CLIENT_APIS #if EXCLUDE_SSDP == 0 +#include #include #include #include diff --git a/src/webserver/webserver.cpp b/src/webserver/webserver.cpp index c427db3..d6184f0 100644 --- a/src/webserver/webserver.cpp +++ b/src/webserver/webserver.cpp @@ -43,11 +43,12 @@ #include "webserver.h" +#include +#include +#include #include -#include #include - -#include +#include #include "genut.h" #include "ssdplib.h" @@ -55,7 +56,6 @@ #include "upnpapi.h" #include "uri.h" -#include #include #include