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>
This commit is contained in:
Johannes Schindelin 2006-04-05 01:01:03 +02:00 коммит произвёл Junio C Hamano
Родитель d01d8c6782
Коммит 46b8dec038
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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)