ObjFW  Check-in [10f8575e8b]

Overview
Comment:Include <sys/types.h> for off_t.

It seems that for some glibc versions it's not enough to include
<unistd.h>.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 10f8575e8b5f8241d7a75c8c2b8d7f9aae5949c978a02dfba0b3b43480884f70
User & Date: js on 2011-04-04 23:05:06
Other Links: manifest | tags
Context
2011-04-04
23:31
Use -std=gnu99 instead of -std=c99. c99 gives trouble with glibc. check-in: 70e82fef45 user: js tags: trunk
23:05
Include <sys/types.h> for off_t. check-in: 10f8575e8b user: js tags: trunk
23:04
Add -std=c99 if accepted by the compiler. check-in: 7357828bfc user: js tags: trunk
Changes

Modified src/exceptions/OFSeekFailedException.h from [9d9ba3b111] to [f843c14a00].

9
10
11
12
13
14
15




16
17
18
19
20
21
22
 * the packaging of this file.
 *
 * 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 "OFException.h"

@class OFSeekableStream;








>
>
>
>







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 * the packaging of this file.
 *
 * 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.
 */

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

#include <unistd.h>

#import "OFException.h"

@class OFSeekableStream;