This commit is contained in:
espie 2014-09-17 14:52:18 +00:00
parent c94d82f8b8
commit 01e62971f9

View File

@ -1,10 +1,16 @@
$OpenBSD: patch-clients_lcdproc_machine_OpenBSD_c,v 1.2 2012/02/28 10:32:00 edd Exp $
$OpenBSD: patch-clients_lcdproc_machine_OpenBSD_c,v 1.3 2014/09/17 14:52:18 espie Exp $
The code distributed with LCDproc for querying the process table is out of date.
--- clients/lcdproc/machine_OpenBSD.c.orig Mon Dec 27 13:32:56 2010
+++ clients/lcdproc/machine_OpenBSD.c Tue Feb 21 08:40:04 2012
@@ -49,8 +49,9 @@
--- clients/lcdproc/machine_OpenBSD.c.orig Mon Dec 27 06:32:56 2010
+++ clients/lcdproc/machine_OpenBSD.c Wed Sep 17 08:49:43 2014
@@ -44,13 +44,14 @@
#include <string.h>
#include <sys/ioctl.h>
#include <sys/sysctl.h>
-#include <sys/dkstat.h>
+#include <sys/sched.h>
#include <sys/ucred.h>
#include <sys/mount.h>
#include <sys/time.h>
#include <sys/user.h>