diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-04 22:08:33 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-04 22:08:33 +0000 |
commit | 4e3640a010dfc2e8fa2a84fc86bdda620feaf19e (patch) | |
tree | ebc241455d2ea6fac32731625864a450b61f2342 /lib | |
parent | 4e40831b0c511acd46723d80e2995be69669d2ac (diff) | |
download | coreutils-4e3640a010dfc2e8fa2a84fc86bdda620feaf19e.tar.xz |
(SIZE_MAX): Define after including files, to avoid
a collision on OpenBSD 3.4.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mountlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |