summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2008-11-12 20:07:32 (UTC)
committer Michael Krelin <hacker@klever.net>2008-11-12 20:07:32 (UTC)
commit54f0c8a8f1a85669e623f04a209928daee5c59cc (patch) (side-by-side diff)
tree9e6cde38964ef70b9130d46349e0aa97dc0acb60
parent4522de61114018633f66492e2e9977cdb3108098 (diff)
downloadlibopkele-54f0c8a8f1a85669e623f04a209928daee5c59cc.zip
libopkele-54f0c8a8f1a85669e623f04a209928daee5c59cc.tar.gz
libopkele-54f0c8a8f1a85669e623f04a209928daee5c59cc.tar.bz2
build fix: added missing include
Thanks to Jim Downing for spotting it! Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/basic_rp.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/basic_rp.cc b/lib/basic_rp.cc
index 3357d0b..3cad71c 100644
--- a/lib/basic_rp.cc
+++ b/lib/basic_rp.cc
@@ -1,24 +1,25 @@
+#include <sys/types.h>
#include <cassert>
#include <openssl/sha.h>
#include <openssl/hmac.h>
#include <opkele/basic_rp.h>
#include <opkele/exception.h>
#include <opkele/uris.h>
#include <opkele/data.h>
#include <opkele/util.h>
#include <opkele/util-internal.h>
#include <opkele/curl.h>
#include <opkele/debug.h>
namespace opkele {
void basic_RP::reset_vars() {
claimed_id.clear(); identity.clear();
}
const string& basic_RP::get_claimed_id() const {
if(claimed_id.empty())
throw non_identity(OPKELE_CP_ "attempting to retreive claimed_id of non-identity assertion");
assert(!identity.empty());
return claimed_id;
}