$OpenBSD: patch-vt_c,v 1.1 2015/12/28 16:18:53 jasper Exp $
--- vt.c.orig	Thu Feb 19 17:51:23 2015
+++ vt.c	Mon Dec 28 16:38:05 2015
@@ -48,6 +48,10 @@
 # include "forkpty-sunos.c"
 #endif
 
+#if defined(__GNUC__) && defined(__STRICT_ANSI__)
+#define alloca(size)	__builtin_alloca(size)
+#endif
+
 #ifndef NCURSES_ATTR_SHIFT
 # define NCURSES_ATTR_SHIFT 8
 #endif
