Fixed gcc 4.3 compile issues

This commit is contained in:
Ralf Haferkamp 2007-11-07 11:01:03 +00:00
parent 18db111c6b
commit d63b735e7f
8 changed files with 21 additions and 8 deletions

View File

@ -1,5 +1,6 @@
#include <LDAPUrl.h>
#include <LDAPException.h>
#include <cstdlib>
#include <iostream>
int main(int argc, char *argv[]) {

View File

@ -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 <ldap.h>
//#include <ctype.h>
#include <cstdlib>
#include "debug.h"
#include "StringList.h"

View File

@ -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 <cstdlib>
using namespace std;
// little helper function for doing case insensitve string comparison

View File

@ -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 <cstdlib>
using namespace std;
LDAPBindRequest::LDAPBindRequest(const LDAPBindRequest& req) :

View File

@ -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 <cstdlib>
using namespace std;
LDAPExtRequest::LDAPExtRequest(const LDAPExtRequest& req) :

View File

@ -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 <cstdlib>
using namespace std;
LDAPModList::LDAPModList(){

View File

@ -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 <cstdlib>
using namespace std;
LDAPResult::LDAPResult(const LDAPRequest *req, LDAPMessage *msg) :

View File

@ -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 <cstdlib>
using namespace std;
StringList::StringList(){