Move some headers around so we can #undef _XOPEN_SOURCE
authorwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 30 Jan 2003 23:53:45 +0000 (23:53 +0000)
committerwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 30 Jan 2003 23:53:45 +0000 (23:53 +0000)
before we #include libapreq.  This still compiles fine
on Linux, and should fix the problem we have on Solaris.
(hopefully) fixes bug # 38

git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@263 cb58f699-b61c-0410-a6fe-9272a202ed29

mod_shire/mod_shire.cpp

index 89231e5..b00d9e8 100644 (file)
@@ -16,9 +16,6 @@
 #include "http_core.h"
 #include "http_log.h"
 
-// For POST processing from Apache
-#include <libapreq/apache_request.h>
-
 // SAML Runtime
 #include <saml/saml.h>
 #include <shib/shib.h>
 #include <sstream>
 #include <stdexcept>
 
+// For POST processing from Apache
+#undef _XOPEN_SOURCE           // bombs on solaris
+#include <libapreq/apache_request.h>
+
 using namespace std;
 using namespace saml;
 using namespace shibboleth;