[libgtop] sysctl.h on OpenBSD no longer pulls in proc.h.



commit 31cbc3374d9b76aae3f09e41e2305a020ce2e8be
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Tue Dec 18 22:47:09 2012 +0100

    sysctl.h on OpenBSD no longer pulls in proc.h.

 sysdeps/openbsd/glibtop_machine.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sysdeps/openbsd/glibtop_machine.h b/sysdeps/openbsd/glibtop_machine.h
index 6d31bb9..14f6abf 100644
--- a/sysdeps/openbsd/glibtop_machine.h
+++ b/sysdeps/openbsd/glibtop_machine.h
@@ -31,6 +31,7 @@
 #include <time.h>
 #include <sys/user.h>
 #include <sys/types.h>
+#include <sys/proc.h>
 #include <sys/sysctl.h>
 
 #include <fcntl.h>



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