From 46b8dec038be1125153e9fc816a1e1f0a9d2de77 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 5 Apr 2006 01:01:03 +0200 Subject: [PATCH] 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 --- diffcore-pickaxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c index d89f314f6d..cfcce315ba 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) -- 2.11.4.GIT