define __STDC_FORMAT_MACROS to use PRId64
include string.h to use strcmp()