mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 08:40:06 +02:00
37 lines
858 B
Plaintext
37 lines
858 B
Plaintext
From 1e20311ffd6870fa7ccc18e388abfb2cc671da91 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Schleifer <js@nil.im>
|
|
Date: Wed, 13 Nov 2024 00:18:50 +0000
|
|
Subject: Fix compiling on r1beta5
|
|
|
|
|
|
diff --git a/src/OFFileIRIHandler.m b/src/OFFileIRIHandler.m
|
|
index 9df9e5d..3a58b85 100644
|
|
--- a/src/OFFileIRIHandler.m
|
|
+++ b/src/OFFileIRIHandler.m
|
|
@@ -43,6 +43,7 @@
|
|
# include <sys/extattr.h>
|
|
#endif
|
|
#ifdef OF_HAIKU
|
|
+# include <TypeConstants.h>
|
|
# include <kernel/fs_attr.h>
|
|
#endif
|
|
#ifdef OF_DJGPP
|
|
diff --git a/tests/OFFileManagerTests.m b/tests/OFFileManagerTests.m
|
|
index 142060b..d9602b6 100644
|
|
--- a/tests/OFFileManagerTests.m
|
|
+++ b/tests/OFFileManagerTests.m
|
|
@@ -24,6 +24,10 @@
|
|
#import "ObjFW.h"
|
|
#import "ObjFWTest.h"
|
|
|
|
+#ifdef OF_HAIKU
|
|
+# include <TypeConstants.h>
|
|
+#endif
|
|
+
|
|
@interface OFFileManagerTests: OTTestCase
|
|
{
|
|
OFFileManager *_fileManager;
|
|
--
|
|
2.45.2
|
|
|