$NetBSD: patch-and.c,v 1.1 2023/06/15 09:55:25 hauke Exp $ is non-portable, replace with definitions. --- and.c.orig 2004-04-05 19:19:01.000000000 +0000 +++ and.c @@ -47,7 +47,6 @@ #include #include #include -#include #define DEBUG 0 @@ -704,7 +703,7 @@ int and_getnice (int uid, int gid, char /* Strategy: each priority database accumulates accuracy points for every aspect: user, group, command, parent. An exact hit is worth the configured weight of the aspect (1, 2, 4, 8); a joker - is worth 0; and a miss is with -MAXINT, effectively eliminating + is worth 0; and a miss is with -INT_MAX, effectively eliminating the entry (veto). At the end, the highest rated entry is used to determine the new nice level. */ for (i=0; iparent;