summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 517d6a63..d5955f16 100644
--- a/src/common.h
+++ b/src/common.h
@@ -75,5 +75,8 @@
#define __STDC_LIMIT_MACROS
// included here for compatibility issues with old compiler/libraries.
#include <stdint.h>
+// For PRId64
+#define __STDC_FORMAT_MACROS
+#include <inttypes.h>
#endif // D_COMMON_H