From owner-svn-src-head@FreeBSD.ORG Wed Jun 5 21:28:33 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9D1998FA; Wed, 5 Jun 2013 21:28:33 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 8F80E12D7; Wed, 5 Jun 2013 21:28:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r55LSXm0050678; Wed, 5 Jun 2013 21:28:33 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r55LSXEo050677; Wed, 5 Jun 2013 21:28:33 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201306052128.r55LSXEo050677@svn.freebsd.org> From: Jung-uk Kim Date: Wed, 5 Jun 2013 21:28:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251437 - head/contrib/libgnuregex X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 21:28:33 -0000 Author: jkim Date: Wed Jun 5 21:28:33 2013 New Revision: 251437 URL: http://svnweb.freebsd.org/changeset/base/251437 Log: Fix build for FreeBSD. We do not have alloca.h. Modified: head/contrib/libgnuregex/regex_internal.h Modified: head/contrib/libgnuregex/regex_internal.h ============================================================================== --- head/contrib/libgnuregex/regex_internal.h Wed Jun 5 21:27:04 2013 (r251436) +++ head/contrib/libgnuregex/regex_internal.h Wed Jun 5 21:28:33 2013 (r251437) @@ -417,7 +417,9 @@ static unsigned int re_string_context_at #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx)) #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx)) +#ifndef __FreeBSD__ #include +#endif #ifndef _LIBC # if HAVE_ALLOCA