summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 01:46:38 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 01:46:38 +0200
commit8f12f0c3b2f50e5356c026f646bc5003369b3014 (patch)
treef4309b09585da457de84ea22280119e6ad18e225
parent3c4b19c82c0d6181476bb4722c9d327054465e69 (diff)
downloadfastd-8f12f0c3b2f50e5356c026f646bc5003369b3014.tar
fastd-8f12f0c3b2f50e5356c026f646bc5003369b3014.zip
FreeBSD doesn't have alloca.h
-rw-r--r--src/crypto_linux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crypto_linux.c b/src/crypto_linux.c
index b724cf8..477547e 100644
--- a/src/crypto_linux.c
+++ b/src/crypto_linux.c
@@ -27,11 +27,10 @@
#include "fastd.h"
#include "crypto.h"
-#include <alloca.h>
-
#if (defined(USE_CRYPTO_AES128CTR) && defined(WITH_CRYPTO_AES128CTR_LINUX)) || (defined(USE_CRYPTO_GHASH) && defined(WITH_CRYPTO_GHASH_LINUX))
+#include <alloca.h>
#include <linux/if_alg.h>
#ifndef SOL_ALG