diff --git a/src/timg.cc b/src/timg.cc index 77c08e7..5afef64 100644 --- a/src/timg.cc +++ b/src/timg.cc @@ -61,6 +61,10 @@ #include #endif +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif + // The following is to work around clang-tidy being confused and not // understanding that unistd.h indeed provides getopt(). So let's include // unistd.h for correctness, and then soothe clang-tidy with decls.