Define PRId64 and PRIu64 when missing.
Include config.h before using feature macros.  Include unistd.h for getopt()
11 files changed