From 5e4c74dfd5927b3829b4f5e04a7964dbac6a4f34 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 31 Dec 2018 06:44:45 -0800 Subject: Eliminate ALLOCA_H. * configure: Instead of generating a definition of ALLOCA_H, generate the variable HAVE_ALLOCA_ with a value of 1, where is one of stdlib, alloca or malloc. * alloca.h: New header. * args.c, eval.c, ffi.c ffi.c, ftw.c, hash.c, lib.c, match.c, parser.c, parser.y, regex.c, socket.c, stream.c, struct.c, sysif.c, syslog.c, termios.c, unwind.c, vm.c: Include "alloca.h" instead of ALLOCA_H. --- termios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'termios.c') diff --git a/termios.c b/termios.c index ce2ed01a..f4d69a82 100644 --- a/termios.c +++ b/termios.c @@ -33,9 +33,9 @@ #include #include #include -#include "config.h" #include -#include ALLOCA_H +#include "config.h" +#include "alloca.h" #include "lib.h" #include "gc.h" #include "args.h" -- cgit v1.2.3