Commit a1efa5960d8f874b92403d875bf08a22c7be2437

Vicent Martí 2013-10-28T04:38:08

Merge pull request #1915 from zcbenz/common-h-before-config-h The "common.h" should be included before "config.h".

diff --git a/src/attr.c b/src/attr.c
index 7946db4..98a328a 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -1,3 +1,4 @@
+#include "common.h"
 #include "repository.h"
 #include "fileops.h"
 #include "config.h"
diff --git a/src/ignore.c b/src/ignore.c
index 0c35d04..27d7c7e 100644
--- a/src/ignore.c
+++ b/src/ignore.c
@@ -1,4 +1,5 @@
 #include "git2/ignore.h"
+#include "common.h"
 #include "ignore.h"
 #include "attr.h"
 #include "path.h"
diff --git a/src/remote.c b/src/remote.c
index ccedf23..bdfa086 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -10,6 +10,7 @@
 #include "git2/oid.h"
 #include "git2/net.h"
 
+#include "common.h"
 #include "config.h"
 #include "repository.h"
 #include "remote.h"