diff --git a/include/share/compat.h b/include/share/compat.h index c6231acc..dfe5f4d1 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -69,7 +69,9 @@ #endif #if HAVE_INTTYPES_H +#ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS +#endif #include #endif