ObjFW  Check-in [205d36080a]

Overview
Comment:OFSystemInfo: Add missing include for iOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 205d36080a34e625be6fc6e6506bc5c17e4fab74eeb57601724a6564a480290c
User & Date: js on 2022-06-13 21:40:07
Other Links: manifest | tags
Context
2022-06-13
21:57
Fix UNIX socket tests on iOS check-in: fac49a6297 user: js tags: trunk
21:40
OFSystemInfo: Add missing include for iOS check-in: 205d36080a user: js tags: trunk
21:24
README.md: Another entry for "Thanks" check-in: 09eca932bf user: js tags: trunk
Changes

Modified src/OFSystemInfo.m from [85e07086cf] to [2ea5196f61].

22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include "unistd_wrapper.h"

#include "platform.h"

#ifdef HAVE_SYS_UTSNAME_H
# include <sys/utsname.h>
#endif
#if defined(OF_MACOS) || defined(OF_NETBSD)
# include <sys/sysctl.h>
#endif

#ifdef OF_AMIGAOS
# include <exec/execbase.h>
# include <proto/exec.h>
#endif







|







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include "unistd_wrapper.h"

#include "platform.h"

#ifdef HAVE_SYS_UTSNAME_H
# include <sys/utsname.h>
#endif
#if defined(OF_MACOS) || defined(OF_IOS) || defined(OF_NETBSD)
# include <sys/sysctl.h>
#endif

#ifdef OF_AMIGAOS
# include <exec/execbase.h>
# include <proto/exec.h>
#endif