ObjFW  Check-in [506c012ec2]

Overview
Comment:Include sys/types.h in of_asprintf.m.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 506c012ec277e67cb4edb2c6ab23d45e39cdc91826721b5aa1f08ae4a21ca301
User & Date: js on 2011-07-17 02:11:50
Other Links: manifest | tags
Context
2011-07-17
16:25
Update PLATFORMS. check-in: 938574d7fe user: js tags: trunk
02:11
Include sys/types.h in of_asprintf.m. check-in: 506c012ec2 user: js tags: trunk
02:03
Use sockaddr_storage instead of sockaddr in OFTCPSocket.
This ensures it's big enough and correctly aligned.
check-in: 7a5b65ee4d user: js tags: trunk
Changes

Modified src/of_asprintf.m from [5101db410e] to [e1e1de1e89].

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"