openbsd-ports/devel/libgtop2/patches/patch-sysdeps_openbsd_glibtop_machine_h
2012-12-18 21:48:47 +00:00

18 lines
592 B
Plaintext

$OpenBSD: patch-sysdeps_openbsd_glibtop_machine_h,v 1.2 2012/12/18 21:48:47 jasper Exp $
From 31cbc3374d9b76aae3f09e41e2305a020ce2e8be Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Tue, 18 Dec 2012 21:47:09 +0000
Subject: sysctl.h on OpenBSD no longer pulls in proc.h.
--- sysdeps/openbsd/glibtop_machine.h.orig Fri Dec 7 06:32:40 2012
+++ sysdeps/openbsd/glibtop_machine.h Fri Dec 7 06:32:49 2012
@@ -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>