wt-status: move #include "pathspec.h" to the header
authorSZEDER Gábor <szeder@ira.uka.de>
Thu, 20 Aug 2015 14:06:27 +0000 (16:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Aug 2015 21:49:27 +0000 (14:49 -0700)
The declaration of 'struct wt_status' requires the declararion of 'struct
pathspec'.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wt-status.c
wt-status.h

index 078a472..4631119 100644 (file)
@@ -1,5 +1,4 @@
 #include "cache.h"
-#include "pathspec.h"
 #include "wt-status.h"
 #include "object.h"
 #include "dir.h"
index e0a99f7..c9b3b74 100644 (file)
@@ -4,6 +4,7 @@
 #include <stdio.h>
 #include "string-list.h"
 #include "color.h"
+#include "pathspec.h"
 
 enum color_wt_status {
        WT_STATUS_HEADER = 0,