void-packages/srcpkgs/bomi/patches/fix-sysctl_h.patch
2021-01-16 10:54:00 +01:00

22 lines
608 B
Diff

--- src/bomi/os/mac.mm 2015-05-20 11:31:58.000000000 +0200
+++ 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>
--- src/bomi/os/x11.cpp 2015-05-20 11:31:58.000000000 +0200
+++ 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>