about summary refs log tree commit diff homepage
path: root/lib/Support
diff options
context:
space:
mode:
authorTatiana Tikhomirova <itbot@bk.ru>2017-05-01 19:31:21 +0300
committerDan Liew <delcypher@gmail.com>2017-07-31 21:18:55 +0100
commit977e032add0e29683bc4edc8c03aef9a81fb6d6a (patch)
treee4dfe74d3bc05ad399f8e1f265ed0d91ad68ed82 /lib/Support
parentfa4d6690d0413b354afe155f9e3f67f7069a6891 (diff)
downloadklee-977e032add0e29683bc4edc8c03aef9a81fb6d6a.tar.gz
Fix build for FreeBSD.
On FreeBSD <sys/capabilities.h> is present in libc, so we don't require libcap there.
Close and write functions are located in <unistd.h>.
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/CompressionStream.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/CompressionStream.cpp b/lib/Support/CompressionStream.cpp
index 3cd5bc86..94f0bd18 100644
--- a/lib/Support/CompressionStream.cpp
+++ b/lib/Support/CompressionStream.cpp
@@ -19,6 +19,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #endif
+#include <unistd.h>
 
 namespace klee {