avoid redeclaring alloca in a conflicting way, fixes build for gcc4

This commit is contained in:
espie 2010-05-19 07:25:12 +00:00
parent ef42d4ebac
commit ad1895e37b

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-config_h_in,v 1.1 2010/05/19 07:25:12 espie Exp $
--- config.h.in.orig Wed May 19 09:18:44 2010
+++ config.h.in Wed May 19 09:19:25 2010
@@ -434,7 +434,9 @@
#pragma alloca
# else
# ifndef alloca /* predefined by HP cc +Olibcalls */
+# ifndef __OpenBSD__
char *alloca ();
+# endif
# endif
# endif
#endif