summaryrefslogtreecommitdiffstats
path: root/syslog.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-12-31 06:44:45 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-12-31 06:44:45 -0800
commit5e4c74dfd5927b3829b4f5e04a7964dbac6a4f34 (patch)
treeb3cdd6a5b6327ca3c51e7135b5b5d1652a57a84f /syslog.c
parent01cba3d1044ab5199ab6108c9c7cc2a8f276819b (diff)
downloadtxr-5e4c74dfd5927b3829b4f5e04a7964dbac6a4f34.tar.gz
txr-5e4c74dfd5927b3829b4f5e04a7964dbac6a4f34.tar.bz2
txr-5e4c74dfd5927b3829b4f5e04a7964dbac6a4f34.zip
Eliminate ALLOCA_H.
* configure: Instead of generating a definition of ALLOCA_H, generate the variable HAVE_ALLOCA_<name> with a value of 1, where <name> 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.
Diffstat (limited to 'syslog.c')
-rw-r--r--syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslog.c b/syslog.c
index cd2e8ca8..bb6d797d 100644
--- a/syslog.c
+++ b/syslog.c
@@ -33,7 +33,7 @@
#include <signal.h>
#include <syslog.h>
#include "config.h"
-#include ALLOCA_H
+#include "alloca.h"
#include "lib.h"
#include "stream.h"
#include "gc.h"