[cpp-sp] 01/01: Include stddef.h in mod_apache.cpp for g++ 4.6
Scott Cantor
cantor.2 at osu.edu
Thu Dec 20 19:45:01 EST 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to annotated tag debian/2.4.2+dfsg-2
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=b23cd8c2c89bc76ec9b283f8fc461bffd9bf6931
commit b23cd8c2c89bc76ec9b283f8fc461bffd9bf6931
Author: Russ Allbery <rra at debian.org>
AuthorDate: Sun May 15 19:57:00 2011 -0700
Include stddef.h in mod_apache.cpp for g++ 4.6
g++ 4.6 now requires that stddef.h be included for offsetof to be
defined. This is a standardized C++ header, so it should be safe
to include unconditionally.
---
apache/mod_apache.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/apache/mod_apache.cpp b/apache/mod_apache.cpp
index 7aa50de..cfc2caf 100644
--- a/apache/mod_apache.cpp
+++ b/apache/mod_apache.cpp
@@ -78,6 +78,7 @@
#include <sstream>
#include <stdexcept>
+#include <stddef.h> // for offsetof()
#ifdef HAVE_UNISTD_H
#include <unistd.h> // for getpid()
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list