ObjFW  Check-in [eced1d58ea]

Overview
Comment:Get rid of unnecessary includes of unistd.h in headers.

This solves problems on systems where __block is used in unistd.h.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: eced1d58eac8338d7abb4f502e580c9faf168a1dcc1ae7bf4d11fcdd19c0c20d
User & Date: js on 2011-07-17 00:57:33
Other Links: manifest | tags
Context
2011-07-17
01:55
Define __NO_EXT_QNX in files using unistd.h or fcntl.h. check-in: da2701ad14 user: js tags: trunk
00:57
Get rid of unnecessary includes of unistd.h in headers. check-in: eced1d58ea user: js tags: trunk
2011-07-15
10:30
Make sure restrict is always defined. check-in: 77fe5572fe user: js tags: trunk
Changes

Modified src/OFNumber.h from [74b7578fe9] to [6c0dda2992].

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 *
 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include <unistd.h>

#import "OFObject.h"
#import "OFSerialization.h"

/**
 * \brief The type of a number.
 */







|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 *
 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include <sys/types.h>

#import "OFObject.h"
#import "OFSerialization.h"

/**
 * \brief The type of a number.
 */

Modified src/exceptions/OFSeekFailedException.h from [f843c14a00] to [8fab00e250].

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 * file.
 */

#ifndef _WIN32
# include <sys/types.h>
#endif

#include <unistd.h>

#import "OFException.h"

@class OFSeekableStream;

/**
 * \brief An exception indicating that seeking in a stream failed.
 */







<
<







14
15
16
17
18
19
20


21
22
23
24
25
26
27
 * file.
 */

#ifndef _WIN32
# include <sys/types.h>
#endif



#import "OFException.h"

@class OFSeekableStream;

/**
 * \brief An exception indicating that seeking in a stream failed.
 */