diff --git a/sensors/and/and.c b/sensors/and/and.c index 049cbe2272238d693c8921e8b5ff59350b538b50..4723ab8eebb0251000b8db08cbadff4bfbbc81da 100644 --- a/sensors/and/and.c +++ b/sensors/and/and.c @@ -48,13 +48,16 @@ #include <sys/wait.h> #include <signal.h> #include <regex.h> -#include <values.h> #include <errno.h> #include <pwd.h> #include <grp.h> #include <fcntl.h> #include <sys/stat.h> +#ifndef MAXINT +#define MAXINT INT_MAX +#endif + #define DEBUG 0 /* OpenBSD getopt() is in unistd.h; Linux and Digital UNIX have getopt.h */