Files
haikuports/dev-libs/objfw/patches/objfw-1.2.1.patchset
2024-11-13 01:24:20 +01:00

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