diff options
author | Marcin Cieślak <saper@saper.info> | 2017-02-09 00:26:16 +0000 |
---|---|---|
committer | Marcin Cieślak <saper@saper.info> | 2017-02-09 00:26:16 +0000 |
commit | a36a4786ea61cbb9cf5ea5dffaddc641391970cb (patch) | |
tree | c48b0f1557aaf8f97db37a82c6af67013edc006f /guile | |
parent | 6942d6a448c8ba1c665ac8351ca188ea95739359 (diff) | |
download | gnutls-a36a4786ea61cbb9cf5ea5dffaddc641391970cb.tar.gz |
<alloca.h> only if HAVE_ALLOCA_H
FreeBSD does know alloca() but has no such header
Signed-off-by: Marcin Cieślak <saper@SAPER.INFO>
Diffstat (limited to 'guile')
-rw-r--r-- | guile/src/core.c | 2 | ||||
-rw-r--r-- | guile/src/utils.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/guile/src/core.c b/guile/src/core.c index 605c91f7af..2c38b60235 100644 --- a/guile/src/core.c +++ b/guile/src/core.c @@ -28,7 +28,9 @@ #include <gnutls/openpgp.h> #include <libguile.h> +#ifdef HAVE_ALLOCA_H #include <alloca.h> +#endif #include "enums.h" #include "smobs.h" diff --git a/guile/src/utils.c b/guile/src/utils.c index d4ca3b9f0f..24aca49100 100644 --- a/guile/src/utils.c +++ b/guile/src/utils.c @@ -26,7 +26,9 @@ #include <gnutls/gnutls.h> #include <libguile.h> +#ifdef HAVE_ALLOCA_H #include <alloca.h> +#endif #include "enums.h" #include "errors.h" |