diff options
Diffstat (limited to 'gdbsupport')
-rw-r--r-- | gdbsupport/ChangeLog | 4 | ||||
-rw-r--r-- | gdbsupport/common-defs.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog index c471726..f62e440 100644 --- a/gdbsupport/ChangeLog +++ b/gdbsupport/ChangeLog @@ -1,3 +1,7 @@ +2020-03-17 Kamil Rytarowski <n54@gmx.com> + + * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined. + 2020-03-12 Tom Tromey <tom@tromey.com> * common-types.h: Remove GDBSERVER code. diff --git a/gdbsupport/common-defs.h b/gdbsupport/common-defs.h index 65500ce..e42d2b8 100644 --- a/gdbsupport/common-defs.h +++ b/gdbsupport/common-defs.h @@ -92,7 +92,9 @@ #include <strings.h> /* for strcasecmp and strncasecmp */ #endif #include <errno.h> +#if HAVE_ALLOCA_H #include <alloca.h> +#endif #include "ansidecl.h" /* This is defined by ansidecl.h, but we prefer gnulib's version. On |