summaryrefslogtreecommitdiff
path: root/devel/libgtop/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgtop/patches/patch-ac')
-rw-r--r--devel/libgtop/patches/patch-ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/libgtop/patches/patch-ac b/devel/libgtop/patches/patch-ac
new file mode 100644
index 00000000000..ac9a1c1cf00
--- /dev/null
+++ b/devel/libgtop/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1.1.1 1998/10/07 13:11:35 agc Exp $
+
+<osreldate.h> is not available on NetBSD.
+
+--- sysdeps/bsd/glibtop_machine.h 1998/10/06 16:21:44 1.1
++++ sysdeps/bsd/glibtop_machine.h 1998/10/06 16:21:49
+@@ -31,7 +31,10 @@
+ #include <sys/sysctl.h>
+
+ #include <fcntl.h>
++
++#ifdef __FreeBSD__
+ #include <osreldate.h>
++#endif
+
+ __BEGIN_DECLS
+