diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-17 00:53:07 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-17 00:53:07 -0800 |
commit | 32eb2e223dd92e2b53785f954f3bf1aaddec568b (patch) | |
tree | 0e632674028c024a5d8d64ed9aaf3e9e66b29ad1 | |
parent | b13f208bf3baba3c66df6cff85cc6e4153f3175e (diff) | |
download | abc-32eb2e223dd92e2b53785f954f3bf1aaddec568b.tar.gz abc-32eb2e223dd92e2b53785f954f3bf1aaddec568b.tar.bz2 abc-32eb2e223dd92e2b53785f954f3bf1aaddec568b.zip |
Silencing some of the gcc warnings.
-rw-r--r-- | src/misc/bzlib/bzlib.c | 2 | ||||
-rw-r--r-- | src/misc/zlib/zlib.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/misc/bzlib/bzlib.c b/src/misc/bzlib/bzlib.c index 93aa083d..660abb82 100644 --- a/src/misc/bzlib/bzlib.c +++ b/src/misc/bzlib/bzlib.c @@ -30,6 +30,8 @@ #include "bzlib_private.h" +#pragma warning(disable : 4996) + ABC_NAMESPACE_IMPL_START #ifdef _WIN32 diff --git a/src/misc/zlib/zlib.h b/src/misc/zlib/zlib.h index 94825b55..0fd12170 100644 --- a/src/misc/zlib/zlib.h +++ b/src/misc/zlib/zlib.h @@ -35,6 +35,10 @@ #include <stdlib.h> #include <string.h> +#ifndef WIN32 +#include <unistd.h> +#endif + #include "src/misc/util/abc_global.h" #include "zconf.h" |