From 4e3640a010dfc2e8fa2a84fc86bdda620feaf19e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 4 Aug 2004 22:08:33 +0000 Subject: (SIZE_MAX): Define after including files, to avoid a collision on OpenBSD 3.4. --- lib/mountlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/mountlist.c b/lib/mountlist.c index af4633b9d..c9c146336 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 -- cgit v1.2.3-54-g00ecf