[libgtop] dkstat.h is going away on OpenBSD, so use sys/sched.h instead for CP_*



commit b7edd1542ec3f024701fffabc52a9f9772707043
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Mon Sep 8 09:36:07 2014 +0200

    dkstat.h is going away on OpenBSD, so use sys/sched.h instead for CP_*

 sysdeps/openbsd/glibtop_machine.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sysdeps/openbsd/glibtop_machine.h b/sysdeps/openbsd/glibtop_machine.h
index 427459f..837634d 100644
--- a/sysdeps/openbsd/glibtop_machine.h
+++ b/sysdeps/openbsd/glibtop_machine.h
@@ -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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]