Skip to content

Commit afb28f2

Browse files
author
Junio C Hamano
committed
Merge branch 'pb/regex' into next
* pb/regex: On some platforms, certain headers need to be included before regex.h
2 parents ca3874a + 46b8dec commit afb28f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diffcore-pickaxe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
* Copyright (C) 2005 Junio C Hamano
33
*/
4-
#include <regex.h>
5-
64
#include "cache.h"
75
#include "diff.h"
86
#include "diffcore.h"
97

8+
#include <regex.h>
9+
1010
static unsigned int contains(struct diff_filespec *one,
1111
const char *needle, unsigned long len,
1212
regex_t *regexp)

0 commit comments

Comments
 (0)