From 6e6867787463ba48b4ab859e86aef4a4b1ee669e Mon Sep 17 00:00:00 2001
From: philippegorley <philippe.gorley@savoirfairelinux.com>
Date: Fri, 10 Aug 2018 13:15:01 -0400
Subject: [PATCH] ringaccount: reorder includes

Fixes problems with mingw not including inttypes.h when needed.

Change-Id: Icd3e1153eac74ac74e25d2ae1d0df4dc4e655314
Reviewed-by: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
---
 src/ringdht/ringaccount.cpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/ringdht/ringaccount.cpp b/src/ringdht/ringaccount.cpp
index bcfd8502a9..4bdf54169f 100644
--- a/src/ringdht/ringaccount.cpp
+++ b/src/ringdht/ringaccount.cpp
@@ -21,12 +21,14 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
  */
 
-#include "ringaccount.h"
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
+#include "ringaccount.h"
+
+#include "logger.h"
+
 #include "accountarchive.h"
 #include "ringcontact.h"
 #include "configkeys.h"
@@ -52,7 +54,6 @@
 #include "system_codec_container.h"
 
 #include "account_schema.h"
-#include "logger.h"
 #include "manager.h"
 #include "utf8_utils.h"
 
-- 
GitLab