-rw-r--r-- | test/idiscover.cc | 1 | ||||
-rw-r--r-- | test/test.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/idiscover.cc b/test/idiscover.cc index 4b1e90c..8a5a3fb 100644 --- a/test/idiscover.cc +++ b/test/idiscover.cc @@ -1,16 +1,17 @@ #include <iostream> #include <stdexcept> #include <iterator> #include <algorithm> +#include <unistd.h> using namespace std; #include <opkele/exception.h> #include <opkele/discovery.h> #include <opkele/util.h> #include <opkele/util-internal.h> namespace opkele { ostream& operator<<(ostream& o,const opkele::openid_endpoint_t& oep) { o << " URI: " << oep.uri << endl << " Claimed ID: " << oep.claimed_id << endl << " Local ID: " << oep.local_id << endl; diff --git a/test/test.cc b/test/test.cc index 2143ac0..770e0c6 100644 --- a/test/test.cc +++ b/test/test.cc @@ -1,14 +1,15 @@ #include <iostream> #include <stdexcept> +#include <unistd.h> using namespace std; #include <opkele/exception.h> #include <opkele/util.h> #include "config.h" class failed_test : public opkele::exception { public: failed_test(OPKELE_E_PARS) : exception(OPKELE_E_CONS) { } }; |