2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-13 15:42:21 +00:00
qpdf/include/qpdf/Types.h
Jay Berkenbilt b856379370 Portability issues: off_t, unlink
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.
2012-06-20 15:18:14 -04:00

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