23 lines
796 B
Plaintext
23 lines
796 B
Plaintext
$OpenBSD: patch-sysdeps_openbsd_procopenfiles_c,v 1.8 2015/12/11 14:19:04 jasper Exp $
|
|
|
|
From 02070b7170f98b1b00d6923b00f5ac48f31f0ef2 Mon Sep 17 00:00:00 2001
|
|
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
|
|
Date: Fri, 11 Dec 2015 15:03:49 +0100
|
|
Subject: Add various headers to unbreak compilation
|
|
|
|
From 7925f83b57cb10b001f4e46e0962510a7c3a5fdf Mon Sep 17 00:00:00 2001
|
|
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
|
|
Date: Fri, 11 Dec 2015 14:57:34 +0100
|
|
Subject: Fix compilation because glibtop_machine definition has moved.
|
|
|
|
--- sysdeps/openbsd/procopenfiles.c.orig Fri Dec 11 14:26:37 2015
|
|
+++ sysdeps/openbsd/procopenfiles.c Fri Dec 11 14:26:48 2015
|
|
@@ -42,6 +42,7 @@
|
|
#include <arpa/inet.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
+#include <kvm.h>
|
|
|
|
#include "glibtop_private.h"
|
|
|