aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-12-19 22:59:27 +0000
committerlloyd <[email protected]>2013-12-19 22:59:27 +0000
commite95b0244ff9b2bcdbca36888eba1aab5562e74fe (patch)
treeb5c644dd99aeef1a325d9fca50765f3ae147358a
parent18b334f7dfeb03138d61ea63ca4383fd19be0109 (diff)
Add missing header for FreeBSD 10
-rw-r--r--src/filters/compression/bzip2/bzip2.cpp1
-rw-r--r--src/filters/compression/lzma/lzma.cpp1
-rw-r--r--src/filters/compression/zlib/zlib.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/filters/compression/bzip2/bzip2.cpp b/src/filters/compression/bzip2/bzip2.cpp
index b5d48b0ed..a7990d2c2 100644
--- a/src/filters/compression/bzip2/bzip2.cpp
+++ b/src/filters/compression/bzip2/bzip2.cpp
@@ -12,6 +12,7 @@
#include <map>
#include <cstring>
+#include <cstdlib>
#define BZ_NO_STDIO
#include <bzlib.h>
diff --git a/src/filters/compression/lzma/lzma.cpp b/src/filters/compression/lzma/lzma.cpp
index 0bcda0343..eaf18b4bf 100644
--- a/src/filters/compression/lzma/lzma.cpp
+++ b/src/filters/compression/lzma/lzma.cpp
@@ -12,6 +12,7 @@
#include <botan/exceptn.h>
#include <cstring>
+#include <cstdlib>
#include <map>
#include <lzma.h>
diff --git a/src/filters/compression/zlib/zlib.cpp b/src/filters/compression/zlib/zlib.cpp
index 0086a7828..4a0b2c8b4 100644
--- a/src/filters/compression/zlib/zlib.cpp
+++ b/src/filters/compression/zlib/zlib.cpp
@@ -11,6 +11,7 @@
#include <botan/exceptn.h>
#include <cstring>
+#include <cstdlib>
#include <map>
#include <zlib.h>