mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-11 13:50:39 +08:00
Fixed gcc 4.3 compile issues
This commit is contained in:
parent
18db111c6b
commit
d63b735e7f
@ -1,5 +1,6 @@
|
||||
#include <LDAPUrl.h>
|
||||
#include <LDAPException.h>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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) :
|
||||
|
@ -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) :
|
||||
|
@ -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(){
|
||||
|
@ -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) :
|
||||
|
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user