From 9ac3b062e8c2d58e47dd03a81e592473e7cbdce3 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Mon, 17 Nov 2003 10:25:46 +0000 Subject: [PATCH] Bug 223900 GRE Bustage (AIX, BEOS) "/usr/include/sys/param.h", line 91.9: 1540-0848 (S) The macro name "MAXPATHLEN" is already defined with a diff erent definition. "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.h", line 47. 9: 1540-0425 (I) "MAXPATHLEN" is defined on line 47 of "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpco m/glue/standalone/nsGREDirServiceProvider.cpp". gmake[5]: *** [nsGREDirServiceProvider.o] Error 1 --- xpcom/glue/standalone/nsGREDirServiceProvider.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/glue/standalone/nsGREDirServiceProvider.h b/xpcom/glue/standalone/nsGREDirServiceProvider.h index fc82ebbd07a0..f01b75c2bcef 100644 --- a/xpcom/glue/standalone/nsGREDirServiceProvider.h +++ b/xpcom/glue/standalone/nsGREDirServiceProvider.h @@ -38,6 +38,8 @@ #ifndef nsGREDirServiceProvider_h_ #define nsGREDirServiceProvider_h_ +#include "nsIDirectoryService.h" + #ifndef MAXPATHLEN #ifdef _MAX_PATH #define MAXPATHLEN _MAX_PATH @@ -48,8 +50,6 @@ #endif #endif -#include "nsIDirectoryService.h" - /** * the directoryserviceprovider used by GRE_Startup when calling NS_InitXPCOM2 */