diff options
author | Niels Möller <nisse@lysator.liu.se> | 2022-08-05 21:23:10 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2022-08-05 21:23:10 +0200 |
commit | fae01ac059343d153610ec7a8334172e302d495c (patch) | |
tree | 72730c5aecd5c622a91c3670695310decc78d6a5 /nettle-internal.h | |
parent | f4ec224a9903f89bd45b5a3563df502c885d8bf6 (diff) | |
download | nettle-fae01ac059343d153610ec7a8334172e302d495c.tar.gz |
Fix alloca warnings on bsd systems.
* nettle-internal.h: Include stdlib.h, fix alloca warnings on BSD.
* hmac.c: Delete corresponding include here, no longer needed.
Diffstat (limited to 'nettle-internal.h')
-rw-r--r-- | nettle-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nettle-internal.h b/nettle-internal.h index ddc483de..92416400 100644 --- a/nettle-internal.h +++ b/nettle-internal.h @@ -36,6 +36,8 @@ #define NETTLE_INTERNAL_H_INCLUDED #include <assert.h> +/* Needed for alloca on bsd systems. */ +#include <stdlib.h> #include "nettle-meta.h" |