summaryrefslogtreecommitdiffstats
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:15 +0200
commit0b90885d9031e229b7a25b7caa9eba8b09746895 (patch)
treef62573f404335def529045e5784452b53b6e010b
parente9d546a6a3c9fb802c5d9c2c7765834599d90ea8 (diff)
downloadtdelibs-0b90885d9031e229b7a25b7caa9eba8b09746895.tar.gz
tdelibs-0b90885d9031e229b7a25b7caa9eba8b09746895.zip
Fix FTBFS due to non-existent include
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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>