$OpenBSD: patch-sysdeps_openbsd_uptime_c,v 1.5 2015/12/11 14:19:05 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

--- sysdeps/openbsd/uptime.c.orig	Fri Dec 11 14:26:09 2015
+++ sysdeps/openbsd/uptime.c	Fri Dec 11 14:25:46 2015
@@ -26,6 +26,8 @@
 
 #include <glibtop/cpu.h>
 
+#include <sys/sysctl.h>
+
 static const unsigned long _glibtop_sysdeps_uptime =
 (1L << GLIBTOP_UPTIME_UPTIME) + (1L << GLIBTOP_UPTIME_IDLETIME) +
 (1UL << GLIBTOP_UPTIME_BOOT_TIME);
