summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/mailviewwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp
index e87284536..5f5f6fe15 100644
--- a/src/gui/windows/mailviewwindow.cpp
+++ b/src/gui/windows/mailviewwindow.cpp
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define __STDC_FORMAT_MACROS
+
#include "gui/windows/mailviewwindow.h"
#include "settings.h"
@@ -47,6 +49,10 @@
#include <inttypes.h>
#endif // PRId64
+#ifndef PRId64
+#error int types not loaded
+#endif // PRId64
+
#include "debug.h"
MailViewWindow *mailViewWindow = nullptr;