$NetBSD: patch-ac,v 1.6 2023/10/17 19:24:04 triaxx Exp $ limits.h is ISO C, unconditionally include it. Keep conditional for sys/syslimits.h though. --- chkdirs.c.orig 2006-01-19 23:40:21.000000000 +0000 +++ chkdirs.c @@ -28,9 +28,8 @@ */ -#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun) || defined (hpux) || defined (__bsdi__) || defined (bsdi) || defined (__APPLE__) #include -#elif defined(__APPLE__) && defined(__MACH__) +#if defined(__APPLE__) && defined(__MACH__) #include #endif