diff options
Diffstat (limited to 'include/qpdf/Types.h')
-rw-r--r-- | include/qpdf/Types.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/qpdf/Types.h b/include/qpdf/Types.h new file mode 100644 index 00000000..4041ce3a --- /dev/null +++ b/include/qpdf/Types.h @@ -0,0 +1,16 @@ +#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__ */ |