Index: configure.ac
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/base/configure.ac,v
retrieving revision 1.40
diff -u -r1.40 configure.ac
--- configure.ac	18 Feb 2004 04:03:23 -0000	1.40
+++ configure.ac	28 Feb 2004 04:16:44 -0000
@@ -672,7 +672,11 @@
 AC_CHECK_TYPES([uintmax_t])
 
 AC_MSG_CHECKING([whether precompiler handles LONG_LONG_MAX])
-AC_TRY_CPP([#ifdef HAVE_STDINT_H
+# We need to define _GNU_SOURCE for some systems to enable LONG_LONG_MAX
+AC_TRY_CPP([#ifdef _GNU_SOURCE
+	#define _GNU_SOURCE
+	#endif
+        #ifdef HAVE_STDINT_H
 	#include <stdint.h>
 	#endif
 	#include <limits.h>
Index: Source/GSFormat.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/base/Source/GSFormat.m,v
retrieving revision 1.29
diff -u -r1.29 GSFormat.m
--- Source/GSFormat.m	24 Feb 2004 09:06:14 -0000	1.29
+++ Source/GSFormat.m	28 Feb 2004 04:16:45 -0000
@@ -62,6 +62,12 @@
 #include "Foundation/NSDebug.h"
 #include "GNUstepBase/GSLocale.h"
 #include "GSFormat.h"
+
+/* We need to define _GNU_SOURCE on systems (SuSE) to get LONG_LONG_MAX.  */
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
 #include <limits.h>
 #include <string.h>		// for strstr()
 #include <sys/stat.h>
Index: Source/NSScanner.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/base/Source/NSScanner.m,v
retrieving revision 1.45
diff -u -r1.45 NSScanner.m
--- Source/NSScanner.m	31 Jul 2003 23:49:31 -0000	1.45
+++ Source/NSScanner.m	28 Feb 2004 04:16:48 -0000
@@ -32,6 +32,11 @@
 #include "Foundation/NSException.h"
 #include "Foundation/NSObjCRuntime.h"
 #include "Foundation/NSUserDefaults.h"
+
+/* We need to define _GNU_SOURCE on systems (SuSE) to get LONG_LONG_MAX.  */
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
 #include <float.h>
 #include <limits.h>
 #include <math.h>
