Commit 46b8dec0 authored by Johannes Schindelin's avatar Johannes Schindelin Committed by Junio C Hamano

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's avatarJohannes Schindelin <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent d01d8c67
* 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)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment