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
#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;