ObjFW  Check-in [90893f3cbe]

Overview
Comment:Add two missing includes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 90893f3cbe437955bcd46a45841e385d8b541f5f71c73518d1dfe0eefc650d62
User & Date: js on 2011-02-09 18:27:46
Other Links: manifest | tags
Context
2011-02-09
18:55
Initial PSP port. check-in: d230ac577d user: js tags: trunk
18:27
Add two missing includes. check-in: 90893f3cbe user: js tags: trunk
18:23
Add a cast so that some old compilers don't complain. check-in: 66fbb69b36 user: js tags: trunk
Changes

Modified src/OFString.m from [da97386e32] to [365a738f41].

17
18
19
20
21
22
23

24
25
26
27
28
29
30
#include "config.h"

#define _GNU_SOURCE
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <ctype.h>

#include <sys/stat.h>
#ifdef HAVE_MADVISE
# include <sys/mman.h>
#else
# define madvise(addr, len, advise)







>







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "config.h"

#define _GNU_SOURCE
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>

#include <sys/stat.h>
#ifdef HAVE_MADVISE
# include <sys/mman.h>
#else
# define madvise(addr, len, advise)

Modified src/OFTCPSocket.m from [b23751c527] to [b9305562e5].

22
23
24
25
26
27
28

29
30
31
32
33
34
35
#include <unistd.h>

#include <assert.h>

#if !defined(HAVE_THREADSAFE_GETADDRINFO) && !defined(_WIN32)
# include <netinet/in.h>
# include <arpa/inet.h>

#endif

#import "OFTCPSocket.h"
#import "OFString.h"
#import "OFExceptions.h"
#import "macros.h"








>







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <unistd.h>

#include <assert.h>

#if !defined(HAVE_THREADSAFE_GETADDRINFO) && !defined(_WIN32)
# include <netinet/in.h>
# include <arpa/inet.h>
# include <netdb.h>
#endif

#import "OFTCPSocket.h"
#import "OFString.h"
#import "OFExceptions.h"
#import "macros.h"