summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-04-14 20:02:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-04-14 20:02:25 +0200
commitbf0778ad55b6ea660694b0f9aa28af797f452571 (patch)
treeb1fa3069bbcc8f33803f3187f216e9692c818a60 /tdeio
parent7e27cf22d45e6c7f85a7059ce3ddcedff51a052e (diff)
downloadtdelibs-bf0778ad55b6ea660694b0f9aa28af797f452571.tar.gz
tdelibs-bf0778ad55b6ea660694b0f9aa28af797f452571.zip
Fix FTBFS due to non-existent include
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 0b90885d9031e229b7a25b7caa9eba8b09746895)
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdeio/tdelficon.cpp4
-rw-r--r--tdeio/tdeio/tdelficon.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/tdeio/tdeio/tdelficon.cpp b/tdeio/tdeio/tdelficon.cpp
index 49ceffd24..159faed26 100644
--- a/tdeio/tdeio/tdelficon.cpp
+++ b/tdeio/tdeio/tdelficon.cpp
@@ -1,5 +1,9 @@
+#include "config.h"
#include "tdelficon.h"
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
#include <cstring>
/*
diff --git a/tdeio/tdeio/tdelficon.h b/tdeio/tdeio/tdelficon.h
index fc3b1beee..f294d59b0 100644
--- a/tdeio/tdeio/tdelficon.h
+++ b/tdeio/tdeio/tdelficon.h
@@ -1,6 +1,5 @@
#include <tdelibs_export.h>
-#include <alloca.h>
#include <stdint.h>
#include <cstdlib>