Differences From Artifact [9d9ba3b111]:
- File src/exceptions/OFSeekFailedException.h — part of check-in [b940af1dd6] at 2011-03-27 17:16:27 on branch trunk — Pass offset and whence for OFSeekFailedExceptions. (user: js, size: 2014) [annotate] [blame] [check-ins using]
To Artifact [f843c14a00]:
- File
src/exceptions/OFSeekFailedException.h
— part of check-in
[10f8575e8b]
at
2011-04-04 23:05:06
on branch trunk
— Include <sys/types.h> for off_t.
It seems that for some glibc versions it's not enough to include
<unistd.h>. (user: js, size: 2061) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
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; |
︙ | ︙ |