summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/replace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index c69ea6cdac..99fdf53ba4 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -52,6 +52,7 @@
which causes a warning storm on irix */
#undef HAVE_INTTYPES_H
#elif HAVE_INTTYPES_H
+#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#endif