diff --git a/lib/defines.h b/lib/defines.h index 140f0c42..9003febb 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -26,6 +26,10 @@ static const char * DBG_LVL_LIST[] = {"NONE", "FAIL", "ERROR", "WARN", "INFO", " #define PRIu64 "llu" #endif +#if !defined(PRIu32) +#define PRIu32 "lu" +#endif + #if !defined(__APPLE__) && !defined(__MACH__) && defined(__GNUC__) #include