Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
On some platforms, certain headers need to be included before regex.h
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Tue, 4 Apr 2006 23:01:03 +0000
(
01:01
+0200)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 5 Apr 2006 00:14:06 +0000
(17:14 -0700)
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>
diffcore-pickaxe.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
d01d8c6
)
diff --git
a/diffcore-pickaxe.c
b/diffcore-pickaxe.c
index d89f314f6d809ebfdfd95104fc653bbfe048b669..cfcce315babb0edb7ad7be7f2ab2437aaf41eb9d 100644
(file)
--- a/
diffcore-pickaxe.c
+++ b/
diffcore-pickaxe.c
@@
-1,12
+1,12
@@
/*
* Copyright (C) 2005 Junio C Hamano
*/
-#include <regex.h>
-
#include "cache.h"
#include "diff.h"
#include "diffcore.h"
+#include <regex.h>
+
static unsigned int contains(struct diff_filespec *one,
const char *needle, unsigned long len,
regex_t *regexp)