$NetBSD: patch-ap,v 1.3 2007/12/05 16:31:01 christos Exp $ --- resource.c.orig 2006-10-15 21:17:52.000000000 -0400 +++ resource.c 2007-12-05 11:04:00.000000000 -0500 @@ -37,7 +37,7 @@ #include #include #endif /* LINUX */ -#if defined(SVR4) || defined(FREEBSD) +#if defined(SVR4) || defined(ALLBSD) #include #include #endif @@ -454,9 +454,11 @@ tprintf("{...}"); else { tprintf("{tms_utime=%lu, tms_stime=%lu, ", - tbuf.tms_utime, tbuf.tms_stime); + (unsigned long)tbuf.tms_utime, + (unsigned long)tbuf.tms_stime); tprintf("tms_cutime=%lu, tms_cstime=%lu}", - tbuf.tms_cutime, tbuf.tms_cstime); + (unsigned long)tbuf.tms_cutime, + (unsigned long)tbuf.tms_cstime); } } return 0;