diff --git a/lib/defines.h b/lib/defines.h index 4a23cf9b..33870c95 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -21,6 +21,10 @@ #include "config.h" static const char * DBG_LVL_LIST[] = {"NONE", "FAIL", "ERROR", "WARN", "INFO", "MEDIUM", "HIGH", "VERYHIGH", "EXTREME", "INSANE", "DONTEVEN"}; +#if !defined(PRIu64) +#define PRIu64 "llu" +#endif + #if !defined(__APPLE__) && !defined(__MACH__) && defined(__GNUC__) #include