From ce1848e9c5125205dc97c8db210ead59cd03d682 Mon Sep 17 00:00:00 2001 From: "dmose%mozilla.org" Date: Fri, 29 Sep 2000 01:10:40 +0000 Subject: [PATCH] define __STRICT_ANSI__ and change the include order to keep linux gcc from whining about one of the system include files. a=r=(not built) git-svn-id: svn://10.0.0.236/trunk@80124 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/directory/xpcom/base/src/nsLDAPURL.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mozilla/directory/xpcom/base/src/nsLDAPURL.h b/mozilla/directory/xpcom/base/src/nsLDAPURL.h index 9f16073a0c9..f254667a8ca 100644 --- a/mozilla/directory/xpcom/base/src/nsLDAPURL.h +++ b/mozilla/directory/xpcom/base/src/nsLDAPURL.h @@ -31,7 +31,14 @@ * GPL. */ +// so g++ doesn't whine about one of the files included by ldap.h +// +#ifdef linux +#define __STRICT_ANSI__ +#endif + #include "nsLDAP.h" +#include "ldap.h" #include "nsILDAPURL.h" #include "nsString.h"