Include <alloca.h> conditionally
authorKamil Rytarowski <n54@gmx.com>
Tue, 17 Mar 2020 14:01:55 +0000 (15:01 +0100)
committerKamil Rytarowski <n54@gmx.com>
Wed, 18 Mar 2020 01:29:21 +0000 (02:29 +0100)
commitd3e2a5e85df4c8454135503c1034b95fecd522ab
tree4af771c22c6814d975977baf06bebf15644ef73a
parent5ccd2fb722d1900adf799dd808fa2146cac85d0d
Include <alloca.h> conditionally

Fixes build on NetBSD, where alloca() is defined in <stdlib.h>.

gdbsupport:

* common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
gdbsupport/ChangeLog
gdbsupport/common-defs.h