From: Ralf Haferkamp Date: Wed, 7 Nov 2007 11:01:03 +0000 (+0000) Subject: Fixed gcc 4.3 compile issues X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~456 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d63b735e7faf557e36cf09151f65829db0745165;p=openldap Fixed gcc 4.3 compile issues --- diff --git a/contrib/ldapc++/examples/urlTest.cpp b/contrib/ldapc++/examples/urlTest.cpp index e1ab2a0dae..b0157cb907 100644 --- a/contrib/ldapc++/examples/urlTest.cpp +++ b/contrib/ldapc++/examples/urlTest.cpp @@ -1,5 +1,6 @@ #include #include +#include #include int main(int argc, char *argv[]) { diff --git a/contrib/ldapc++/src/LDAPAttribute.cpp b/contrib/ldapc++/src/LDAPAttribute.cpp index 6671414344..2717d9ba97 100644 --- a/contrib/ldapc++/src/LDAPAttribute.cpp +++ b/contrib/ldapc++/src/LDAPAttribute.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2007, OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -12,7 +12,7 @@ #include -//#include +#include #include "debug.h" #include "StringList.h" diff --git a/contrib/ldapc++/src/LDAPAttributeList.cpp b/contrib/ldapc++/src/LDAPAttributeList.cpp index 235fef3a20..25fee71a96 100644 --- a/contrib/ldapc++/src/LDAPAttributeList.cpp +++ b/contrib/ldapc++/src/LDAPAttributeList.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2000-2002, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2007, OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -13,6 +13,8 @@ #include "LDAPAsynConnection.h" #include "LDAPMessage.h" +#include + using namespace std; // little helper function for doing case insensitve string comparison diff --git a/contrib/ldapc++/src/LDAPBindRequest.cpp b/contrib/ldapc++/src/LDAPBindRequest.cpp index eae3983b31..26bf869506 100644 --- a/contrib/ldapc++/src/LDAPBindRequest.cpp +++ b/contrib/ldapc++/src/LDAPBindRequest.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2007, OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -10,6 +10,8 @@ #include "LDAPBindRequest.h" #include "LDAPException.h" +#include + using namespace std; LDAPBindRequest::LDAPBindRequest(const LDAPBindRequest& req) : diff --git a/contrib/ldapc++/src/LDAPExtRequest.cpp b/contrib/ldapc++/src/LDAPExtRequest.cpp index b7f54eeecd..c4896a8ac8 100644 --- a/contrib/ldapc++/src/LDAPExtRequest.cpp +++ b/contrib/ldapc++/src/LDAPExtRequest.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2007, OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -12,6 +12,8 @@ #include "LDAPException.h" #include "LDAPResult.h" +#include + using namespace std; LDAPExtRequest::LDAPExtRequest(const LDAPExtRequest& req) : diff --git a/contrib/ldapc++/src/LDAPModList.cpp b/contrib/ldapc++/src/LDAPModList.cpp index a7674eb381..5450079cce 100644 --- a/contrib/ldapc++/src/LDAPModList.cpp +++ b/contrib/ldapc++/src/LDAPModList.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2007, OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -7,6 +7,8 @@ #include "LDAPModList.h" #include "debug.h" +#include + using namespace std; LDAPModList::LDAPModList(){ diff --git a/contrib/ldapc++/src/LDAPResult.cpp b/contrib/ldapc++/src/LDAPResult.cpp index 5a3b2e48e3..202d4fdec1 100644 --- a/contrib/ldapc++/src/LDAPResult.cpp +++ b/contrib/ldapc++/src/LDAPResult.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2007, OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -10,6 +10,8 @@ #include "LDAPRequest.h" #include "LDAPException.h" +#include + using namespace std; LDAPResult::LDAPResult(const LDAPRequest *req, LDAPMessage *msg) : diff --git a/contrib/ldapc++/src/StringList.cpp b/contrib/ldapc++/src/StringList.cpp index 1778cac027..6fee0bd411 100644 --- a/contrib/ldapc++/src/StringList.cpp +++ b/contrib/ldapc++/src/StringList.cpp @@ -1,11 +1,13 @@ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2007, OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ #include "StringList.h" #include "debug.h" +#include + using namespace std; StringList::StringList(){