From: Paul Eggert Date: Wed, 4 Aug 2004 22:08:33 +0000 (+0000) Subject: (SIZE_MAX): Define after including files, to avoid X-Git-Tag: v5.3.0~848 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e3640a010dfc2e8fa2a84fc86bdda620feaf19e;p=thirdparty%2Fcoreutils.git (SIZE_MAX): Define after including files, to avoid a collision on OpenBSD 3.4. --- diff --git a/lib/mountlist.c b/lib/mountlist.c index af4633b9d4..c9c1463368 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -26,10 +26,6 @@ #include "xalloc.h" -#ifndef SIZE_MAX -# define SIZE_MAX ((size_t) -1) -#endif - #ifndef strstr char *strstr (); #endif @@ -140,6 +136,10 @@ char *strstr (); #include "mountlist.h" #include "unlocked-io.h" +#ifndef SIZE_MAX +# define SIZE_MAX ((size_t) -1) +#endif + #if MOUNTED_GETMNTINFO # if ! HAVE_F_FSTYPENAME_IN_STATFS