From 9041c1f5e4900a54b2808775c8dc45fa47a66903 Mon Sep 17 00:00:00 2001 From: Timothy Stack <stack@flux.utah.edu> Date: Mon, 1 Nov 2004 22:27:14 +0000 Subject: [PATCH] Remove dependency on values.h . --- sensors/and/and.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sensors/and/and.c b/sensors/and/and.c index 049cbe2272..4723ab8eeb 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 */ -- GitLab