diff --git a/lib/defines.h b/lib/defines.h index ee33aa0d..6a6bf73e 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -310,14 +310,6 @@ extern char *strerror (); # define format_attr(type, index, check) #endif -/* ! Arguments evaluated twice ! */ -#ifndef MIN -#define MIN(a,b) (((a) < (b)) ? (a) : (b)) -#endif -#ifndef MAX -#define MAX(x,y) (((x) > (y)) ? (x) : (y)) -#endif - /* Maximum length of usernames */ #ifdef HAVE_UTMPX_H # include diff --git a/libmisc/utmp.c b/libmisc/utmp.c index d2b65ac7..45b479f1 100644 --- a/libmisc/utmp.c +++ b/libmisc/utmp.c @@ -19,6 +19,7 @@ #endif #include +#include #include #include #include