summaryrefslogtreecommitdiff
path: root/nettle-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'nettle-internal.h')
-rw-r--r--nettle-internal.h2
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"