ObjFW  Check-in [6235989999]

Overview
Comment:Don't include <net/if.h> on MorphOS

MorphOS has the header, but it's broken and including it makes the
compiler fail.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6235989999497574ec8105a84ae944f5fac719e40d288e4834bd88c4dc8245f0
User & Date: js on 2022-11-05 10:01:08
Other Links: manifest | tags
Context
2022-11-05
18:38
More consistency in how pragmas are used check-in: a0c049d8f1 user: js tags: trunk
10:01
Don't include <net/if.h> on MorphOS check-in: 6235989999 user: js tags: trunk
2022-11-04
23:30
configure: Check for if_{indextoname,nametoindex} check-in: d5310a5145 user: js tags: trunk
Changes

Modified src/OFSocket.m from [f8a99adefe] to [d36d90a400].

22
23
24
25
26
27
28

29
30
31
32
33
34
35
36

#ifdef OF_NINTENDO_3DS
# include <malloc.h>  /* For memalign() */
#endif

#include <errno.h>


#ifdef HAVE_NET_IF_H
# include <net/if.h>
#endif

#import "OFArray.h"
#import "OFCharacterSet.h"
#import "OFLocale.h"
#ifdef OF_HAVE_THREADS







>
|







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

#ifdef OF_NINTENDO_3DS
# include <malloc.h>  /* For memalign() */
#endif

#include <errno.h>

#include "platform.h"
#if defined(HAVE_NET_IF_H) && !defined(OF_MORPHOS)
# include <net/if.h>
#endif

#import "OFArray.h"
#import "OFCharacterSet.h"
#import "OFLocale.h"
#ifdef OF_HAVE_THREADS