[test-suite] r300774 - ClamAV/zlib: Always include unistd.h to get declarations for things like open/close/lseek that gzip is using
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 15:23:04 PDT 2017
Author: matze
Date: Wed Apr 19 17:23:04 2017
New Revision: 300774
URL: http://llvm.org/viewvc/llvm-project?rev=300774&view=rev
Log:
ClamAV/zlib: Always include unistd.h to get declarations for things like open/close/lseek that gzip is using
Modified:
test-suite/trunk/MultiSource/Applications/ClamAV/zlib/zconf.h
Modified: test-suite/trunk/MultiSource/Applications/ClamAV/zlib/zconf.h
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/ClamAV/zlib/zconf.h?rev=300774&r1=300773&r2=300774&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/ClamAV/zlib/zconf.h (original)
+++ test-suite/trunk/MultiSource/Applications/ClamAV/zlib/zconf.h Wed Apr 19 17:23:04 2017
@@ -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.
More information about the llvm-commits
mailing list