void-packages/srcpkgs/bomi/patches/fix-sysctl_h.patch

23 lines
616 B
Diff

--- a/src/bomi/os/mac.mm 2015-05-20 11:31:58.000000000 +0200
+++ b/src/bomi/os/mac.mm 2021-01-16 10:51:12.701668482 +0100
@@ -274,7 +274,7 @@
#ifdef Q_OS_MAC
-#include <sys/sysctl.h>
+#include <linux/sysctl.h>
#include <mach/mach_host.h>
#include <mach/task.h>
#include <libproc.h>
--- a/src/bomi/os/x11.cpp 2015-05-20 11:31:58.000000000 +0200
+++ b/src/bomi/os/x11.cpp 2021-01-16 10:51:04.559292267 +0100
@@ -15,7 +15,7 @@
#include <fcntl.h>
#include <time.h>
#include <sys/time.h>
-#include <sys/sysctl.h>
+#include <linux/sysctl.h>
#include <sys/types.h>
#include <xcb/xcb.h>
#include <xcb/randr.h>