From: Johannes Schindelin Date: Tue, 04 Apr 2006 23:01:03 GMT Subject: [PATCH] On some platforms, certain headers need to be included before regex.h Message-ID: Happily, these are already included in cache.h, which is included anyway... so: change the order of includes. Signed-off-by: Johannes Schindelin --- diffcore-pickaxe.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 0dcea02390ab0a15e2dbb62b4b876046fe0b4e79 diff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c index d89f314..cfcce31 100644 --- a/diffcore-pickaxe.c +++ b/diffcore-pickaxe.c @@ -1,11 +1,11 @@ /* * 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, -- 1.3.0.rc2.g7eaca-dirty