mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
24 lines
503 B
Plaintext
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
|
|
|