[cpp-sp] 02/02: More missing headers

John W. O'Brien john at saltant.com
Fri Oct 17 16:01:46 UTC 2025


This is an automated email from the git hooks/post-receive script.

obrienjw pushed a commit to branch main
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=cb1077c20b9b714e9f1f90d9d84f8a1927dc4037

commit cb1077c20b9b714e9f1f90d9d84f8a1927dc4037
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Fri Oct 17 12:01:40 2025 -0400

    More missing headers
---
 shibsp/io/impl/HTTPResponse.cpp | 1 +
 shibsp/util/CGIParser.cpp       | 2 ++
 shibsp/util/IPRange.cpp         | 2 ++
 shibsp/util/URLEncoder.cpp      | 2 ++
 4 files changed, 7 insertions(+)

diff --git a/shibsp/io/impl/HTTPResponse.cpp b/shibsp/io/impl/HTTPResponse.cpp
index bc6c3c39..1db1c566 100644
--- a/shibsp/io/impl/HTTPResponse.cpp
+++ b/shibsp/io/impl/HTTPResponse.cpp
@@ -21,6 +21,7 @@
 #include "internal.h"
 #include "io/HTTPResponse.h"
 
+#include <cstring>
 #include <stdexcept>
 
 #ifndef HAVE_STRCASECMP
diff --git a/shibsp/util/CGIParser.cpp b/shibsp/util/CGIParser.cpp
index a8f1ce4a..c76633f5 100644
--- a/shibsp/util/CGIParser.cpp
+++ b/shibsp/util/CGIParser.cpp
@@ -25,6 +25,8 @@
 #include "util/CGIParser.h"
 #include "util/URLEncoder.h"
 
+#include <cstring>
+
 using namespace shibsp;
 using namespace std;
 
diff --git a/shibsp/util/IPRange.cpp b/shibsp/util/IPRange.cpp
index da954870..aaa0bebd 100644
--- a/shibsp/util/IPRange.cpp
+++ b/shibsp/util/IPRange.cpp
@@ -23,6 +23,8 @@
 #include "logging/Category.h"
 #include "util/IPRange.h"
 
+#include <cstring>
+
 #ifdef WIN32
 # include <winsock2.h>
 # include <ws2tcpip.h>
diff --git a/shibsp/util/URLEncoder.cpp b/shibsp/util/URLEncoder.cpp
index 00770511..0208a5fb 100644
--- a/shibsp/util/URLEncoder.cpp
+++ b/shibsp/util/URLEncoder.cpp
@@ -24,6 +24,8 @@
 #include "util/Misc.h"
 #include "util/URLEncoder.h"
 
+#include <cstring>
+
 using namespace shibsp;
 using namespace std;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list