Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2013 21:28:33 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251437 - head/contrib/libgnuregex
Message-ID:  <201306052128.r55LSXEo050677@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <alloca.h>
+#endif
 
 #ifndef _LIBC
 # if HAVE_ALLOCA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306052128.r55LSXEo050677>