Include limits.h.

[!INT_MAX]: Define it.
This commit is contained in:
Jim Meyering committed 1995-10-06 02:55:14 +00:00
1 parent 965c0bf39d
commit cc61df7131
1 file changed
+12
+12
View File
@@ -23,6 +23,18 @@
#include <grp.h>
#include <getopt.h>
#if HAVE_LIMITS_H
# include <limits.h>
#endif
#ifndef UINT_MAX
# define UINT_MAX ((unsigned int) ~(unsigned int) 0)
#endif
#ifndef INT_MAX
# define INT_MAX ((int) (UINT_MAX >> 1))
#endif
#include "system.h"
#include "version.h"
#include "xstrtoul.h"