summaryrefslogtreecommitdiffstats
path: root/src/timestamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timestamp.h')
-rw-r--r--src/timestamp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timestamp.h b/src/timestamp.h
index 5565154..6a7ccd0 100644
--- a/src/timestamp.h
+++ b/src/timestamp.h
@@ -18,6 +18,9 @@
#ifdef _WIN32
#include "win32port.h"
#else
+#ifndef __STDC_FORMAT_MACROS
+#define __STDC_FORMAT_MACROS
+#endif
#include <inttypes.h>
#endif