21 lines
689 B
Plaintext
21 lines
689 B
Plaintext
$OpenBSD: patch-sysdeps_openbsd_glibtop_machine_h,v 1.5 2014/09/08 07:40:29 jasper Exp $
|
|
|
|
From b7edd1542ec3f024701fffabc52a9f9772707043 Mon Sep 17 00:00:00 2001
|
|
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
|
|
Date: Mon, 8 Sep 2014 09:36:07 +0200
|
|
Subject: dkstat.h is going away on OpenBSD, so use sys/sched.h instead for CP_*
|
|
|
|
--- sysdeps/openbsd/glibtop_machine.h.orig Mon Sep 8 09:31:15 2014
|
|
+++ sysdeps/openbsd/glibtop_machine.h Mon Sep 8 09:32:32 2014
|
|
@@ -23,9 +23,9 @@
|
|
#define __GLIBTOP_MACHINE_H__
|
|
|
|
#include <sys/param.h>
|
|
+#include <sys/sched.h>
|
|
#include <nlist.h>
|
|
#include <kvm.h>
|
|
-#include <sys/dkstat.h>
|
|
#include <time.h>
|
|
#include <sys/user.h>
|
|
#include <sys/types.h>
|