From: Johannes Schindelin Date: Tue, 4 Apr 2006 23:01:03 +0000 (+0200) Subject: On some platforms, certain headers need to be included before regex.h X-Git-Tag: v1.3.0-rc3~16^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=46b8dec038be1125153e9fc816a1e1f0a9d2de77;p=git-core%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c index d89f314f6..cfcce315b 100644 --- a/diffcore-pickaxe.c +++ b/diffcore-pickaxe.c @@ -1,12 +1,12 @@ /* * Copyright (C) 2005 Junio C Hamano */ -#include - #include "cache.h" #include "diff.h" #include "diffcore.h" +#include + static unsigned int contains(struct diff_filespec *one, const char *needle, unsigned long len, regex_t *regexp)