From a997bf423d4baac5b2286edccd1cef897108397f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 17 Aug 2010 09:24:39 +0000 Subject: compat/regex: get the gawk regex engine to compile within git MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We need to define -DGAWK -DNO_MBSUPPORT so that the gawk regex engine will compile, and include stdio.h and stddef.h in regex.h. Gawk itself includes these headers before it includes the regex.h header. Signed-off-by: Ævar Arnfjörð Bjarmason Acked-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- compat/regex/regex.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compat/regex') diff --git a/compat/regex/regex.h b/compat/regex/regex.h index de9332788..61c968387 100644 --- a/compat/regex/regex.h +++ b/compat/regex/regex.h @@ -1,3 +1,6 @@ +#include +#include + /* Definitions for data structures and routines for the regular expression library. Copyright (C) 1985,1989-93,1995-98,2000,2001,2002,2003,2005,2006,2008 -- cgit v1.2.1