mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-14 23:06:08 -04:00
28 lines
782 B
Plaintext
28 lines
782 B
Plaintext
$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 <sys/times.h>
|
|
#include <linux/kernel.h>
|
|
#endif /* LINUX */
|
|
-#if defined(SVR4) || defined(FREEBSD)
|
|
+#if defined(SVR4) || defined(ALLBSD)
|
|
#include <sys/times.h>
|
|
#include <sys/time.h>
|
|
#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;
|