fixes header include order (dav-sync)

Fri, 01 Jun 2018 08:52:05 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 01 Jun 2018 08:52:05 +0200
changeset 399
a985a587787f
parent 398
26fdeed98cd7
child 400
90c6bfa94fa2

fixes header include order (dav-sync)

dav/scfg.h file | annotate | diff | comparison | revisions
dav/sync.c file | annotate | diff | comparison | revisions
dav/sync.h file | annotate | diff | comparison | revisions
--- a/dav/scfg.h	Thu May 31 15:24:52 2018 +0200
+++ b/dav/scfg.h	Fri Jun 01 08:52:05 2018 +0200
@@ -34,6 +34,8 @@
 #include <libidav/webdav.h>
 #include <regex.h>
 
+#include "db.h"
+
 #ifdef	__cplusplus
 extern "C" {
 #endif
--- a/dav/sync.c	Thu May 31 15:24:52 2018 +0200
+++ b/dav/sync.c	Fri Jun 01 08:52:05 2018 +0200
@@ -44,16 +44,17 @@
 #include <libidav/utils.h>
 #include <libidav/crypto.h>
 
+#include <libidav/session.h>
+
+#include "sync.h"
+
 #include "config.h"
-#include "scfg.h"
 #include "sopt.h"
-#include "db.h"
 #include "error.h"
 #include "assistant.h"
 #include "libxattr.h"
 #include "tags.h"
-#include "sync.h"
-#include "libidav/session.h"
+
 
 #include <pthread.h>
 #include <ctype.h>
--- a/dav/sync.h	Thu May 31 15:24:52 2018 +0200
+++ b/dav/sync.h	Fri Jun 01 08:52:05 2018 +0200
@@ -35,6 +35,8 @@
 
 #include <pthread.h>
 
+#include "scfg.h"
+#include "config.h"
 #include "sopt.h"
 
 #include "version.h"

mercurial