svn commit: r251437 - head/contrib/libgnuregex
Jung-uk Kim
jkim at FreeBSD.org
Wed Jun 5 21:28:33 UTC 2013
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
More information about the svn-src-head
mailing list