ObjFW  Check-in [b585f68973]

Overview
Comment:Fix compiling on Haiku r1beta5
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b585f689730d34d1f33ebf780256705be8616eee28dc7561ab24aa3db3f61753
User & Date: js on 2024-11-13 00:01:37
Other Links: manifest | tags
Context
2024-11-13
23:46
OFOpenSSLTLSStream: Use more error codes check-in: fa9652e096 user: js tags: trunk
00:01
Fix compiling on Haiku r1beta5 check-in: 97827c658e user: js tags: 1.2
00:01
Fix compiling on Haiku r1beta5 check-in: b585f68973 user: js tags: trunk
2024-11-12
21:49
GitHub Actions: Pin NDS to last working container check-in: eda17ffcbd user: js tags: trunk
Changes

Modified src/OFFileIRIHandler.m from [3b38bf74b9] to [9e20f4f6f5].

39
40
41
42
43
44
45

46
47
48
49
50
51
52
#if defined(OF_LINUX) || defined(OF_MACOS)
# include <sys/xattr.h>
#endif
#if defined(OF_FREEBSD) || defined(OF_NETBSD)
# include <sys/extattr.h>
#endif
#ifdef OF_HAIKU

# include <kernel/fs_attr.h>
#endif
#ifdef OF_DJGPP
# include <syslimits.h>
#endif

#ifdef HAVE_FCNTL_H







>







39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#if defined(OF_LINUX) || defined(OF_MACOS)
# include <sys/xattr.h>
#endif
#if defined(OF_FREEBSD) || defined(OF_NETBSD)
# include <sys/extattr.h>
#endif
#ifdef OF_HAIKU
# include <TypeConstants.h>
# include <kernel/fs_attr.h>
#endif
#ifdef OF_DJGPP
# include <syslimits.h>
#endif

#ifdef HAVE_FCNTL_H

Modified tests/OFFileManagerTests.m from [08e4ea3058] to [fb37084320].

19
20
21
22
23
24
25




26
27
28
29
30
31
32

#include "config.h"

#include <errno.h>

#import "ObjFW.h"
#import "ObjFWTest.h"





@interface OFFileManagerTests: OTTestCase
{
	OFFileManager *_fileManager;
	OFIRI *_testsDirectoryIRI, *_testFileIRI;
}
@end







>
>
>
>







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

#include "config.h"

#include <errno.h>

#import "ObjFW.h"
#import "ObjFWTest.h"

#ifdef OF_HAIKU
# include <TypeConstants.h>
#endif

@interface OFFileManagerTests: OTTestCase
{
	OFFileManager *_fileManager;
	OFIRI *_testsDirectoryIRI, *_testFileIRI;
}
@end