ObjFW  Check-in [368fffb61e]

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 | 0.5
Files: files | file ages | folders
SHA3-256: 368fffb61e0911b1937f4a9ccdb086286da3191397952782ac88e3226905bf41
User & Date: js on 2011-07-17 00:57:33
Other Links: branch diff | manifest | tags
Context
2011-07-17
01:55
Define __NO_EXT_QNX in files using unistd.h or fcntl.h. check-in: 59e52af26d user: js tags: 0.5
00:57
Get rid of unnecessary includes of unistd.h in headers. check-in: 368fffb61e user: js tags: 0.5
2011-07-14
23:17
Fix a memory leak in OFURL. check-in: 971f8e1b0e user: js tags: 0.5
Changes

Modified src/OFNumber.h from [fd0954f29b] to [0944a92f2e].

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"

/**
 * \brief The type of a number.
 */
typedef enum of_number_type_t {







|







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"

/**
 * \brief The type of a number.
 */
typedef enum of_number_type_t {

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.
 */