ObjFW  Check-in [e9768d31bb]

Overview
Comment:Include sys/types.h in of_asprintf.m.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.5
Files: files | file ages | folders
SHA3-256: e9768d31bbc8a48d9373be793380f6163b752e3707f263c0648915a60554e05a
User & Date: js on 2011-07-17 02:11:50
Other Links: branch diff | manifest | tags
Context
2011-07-17
16:25
Update PLATFORMS. check-in: fcc184b84d user: js tags: 0.5
02:11
Include sys/types.h in of_asprintf.m. check-in: e9768d31bb user: js tags: 0.5
02:08
Use sockaddr_storage instead of sockaddr in OFTCPSocket.
This ensures it's big enough and correctly aligned.
check-in: 1688bf89e0 user: js tags: 0.5
Changes

Modified src/of_asprintf.m from [ff2c736c3a] to [6a4139bc4d].

18
19
20
21
22
23
24


25
26
27
28
29
30
31

#define _GNU_SOURCE
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdbool.h>
#include <wchar.h>



#import "OFString.h"
#import "OFAutoreleasePool.h"
#import "asprintf.h"

#import "macros.h"








>
>







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

#define _GNU_SOURCE
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdbool.h>
#include <wchar.h>

#include <sys/types.h>

#import "OFString.h"
#import "OFAutoreleasePool.h"
#import "asprintf.h"

#import "macros.h"