mirror of
https://github.com/qpdf/qpdf.git
synced 2024-06-13 15:42:21 +00:00
b856379370
New header qpdf/Types.h attempts to make sure size_t and off_t are defined on any platform and in a way that would work with large file support. Additionally, missing header files are included to get unlink.
17 lines
459 B
C
17 lines
459 B
C
#ifndef __QPDFTYPES_H__
|
|
#define __QPDFTYPES_H__
|
|
|
|
/* Attempt to provide off_t and size_t on any recent platform. To
|
|
* make cross compilation easier and to be more portable across
|
|
* platforms, QPDF avoids having any public header files use the
|
|
* results of autoconf testing, so we have to handle this ourselves in
|
|
* a static way.
|
|
*/
|
|
|
|
#define _FILE_OFFSET_BITS 64
|
|
#include <sys/types.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#endif /* __QPDFTYPES_H__ */
|