| 1 | #include <fcntl.h> |
| 2 | #include <errno.h> |
| 3 | #include <stdio.h> |
| 4 | #include <sys/types.h> |
| 5 | #include <sys/stat.h> |
| 6 | #include <ctype.h> |
| 7 | #include <string.h> |
| 8 | #include <sys/file.h> |
| 9 | #include <alloca.h> |
| 10 | #include <stdlib.h> |
| 11 | |
| 12 | /* Make the basic types 64-bit quantities on the host */ |
| 13 | #define HOST_64_BIT long |
| 14 | |
| 15 | typedef unsigned long uint64e_type; |
| 16 | typedef unsigned long uint64_type; |
| 17 | typedef long int64_type; |
| 18 | |
| 19 | #define BYTES_IN_PRINTF_INT 4 |
| 20 | |
| 21 | #define uint64_typeLOW(x) (((x) & 0xffffffff)) |
| 22 | #define uint64_typeHIGH(x) (((x) >> 32) & 0xffffffff) |
| 23 | #include "fopen-same.h" |