On some platforms, certain headers need to be included before regex.h
Happily, these are already included in cache.h, which is included anyway... so: change the order of includes. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Johannes Schindelin committed
Apr 5, 2006 at 01:01 UTC
46b8dec038be1125153e9fc816a1e1f0a9d2de77
1 file changed
+2
-2
diffcore-pickaxe.c
+2
-2
@@ -1,12 +1,12 @@
1
/*
2
* Copyright (C) 2005 Junio C Hamano
3
*/
4
-#include <regex.h>
5
-
4
#include "cache.h"
5
#include "diff.h"
6
#include "diffcore.h"
7
8
+#include <regex.h>
9
+
10
static unsigned int contains(struct diff_filespec *one,
11
const char *needle, unsigned long len,
12
regex_t *regexp)