]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(SIZE_MAX): Define after including files, to avoid
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Aug 2004 22:08:33 +0000 (22:08 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Aug 2004 22:08:33 +0000 (22:08 +0000)
a collision on OpenBSD 3.4.

lib/mountlist.c

index af4633b9d4b560df19317eb6e88aabc444a58102..c9c14633684b9a5de5182f6bb0aa7b960cae4840 100644 (file)
 
 #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