Files
haikuports/kde-apps/akonadi-search/patches/akonadi_search-23.08.5.patchset
2024-03-02 23:04:31 +10:00

24 lines
503 B
Plaintext

From 2d69f94f9fe98417f28edaf96573fe6fe9a4668c Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Tue, 18 Jul 2023 17:18:07 +0000
Subject: Don't include sys/syscall.h
diff --git a/agent/priority.cpp b/agent/priority.cpp
index 03ea66f..afefe7f 100644
--- a/agent/priority.cpp
+++ b/agent/priority.cpp
@@ -18,7 +18,9 @@
#ifndef _WIN32
#include <cerrno>
#include <sys/resource.h>
+#ifndef __HAIKU__
#include <sys/syscall.h>
+#endif
#include <unistd.h>
#include <sched.h>
--
2.37.3