commit | ce50719ed5a4667e24bdfd16ed0cb19391a0c228 | [log] [tgz] |
---|---|---|
author | Matthias Braun <matze@braunis.de> | Wed Apr 19 22:23:04 2017 |
committer | Matthias Braun <matze@braunis.de> | Wed Apr 19 22:23:04 2017 |
tree | 13fad626a7506adf66b863f8408207c0eefed554 | |
parent | 933b63079a51f20c2f788fad0a72e0d7d55169c6 [diff] |
ClamAV/zlib: Always include unistd.h to get declarations for things like open/close/lseek that gzip is using git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@300774 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/MultiSource/Applications/ClamAV/zlib/zconf.h b/MultiSource/Applications/ClamAV/zlib/zconf.h index 5e1d68a..0a15e15 100644 --- a/MultiSource/Applications/ClamAV/zlib/zconf.h +++ b/MultiSource/Applications/ClamAV/zlib/zconf.h
@@ -8,6 +8,9 @@ #ifndef ZCONF_H #define ZCONF_H +/* Modified for llvm test-suite: */ +#include <unistd.h> + /* * If you *really* need a unique prefix for all types and library functions, * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.