diff options
author | Florian Golemo <fgolemo@gmail.com> | 2020-08-27 17:34:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 14:34:31 -0700 |
commit | 58708f6bea86c307b49df538211020466dd0884c (patch) | |
tree | 8ba3cc1a7ae1d2fd277faa05cb1fb2e5fe6b7409 | |
parent | cbff4a0a0664a3f79a553d90f0b4d33904484625 (diff) | |
download | bullet3-58708f6bea86c307b49df538211020466dd0884c.tar.gz |
Update gzguts.h (#3012)
Adding this makes the library build successfully on Mac Catalina with Miniconda 3.7 on the latest CLANG. Otherwise you get errors that in C99 the functions "write", "close", and "read" aren't defined.
-rw-r--r-- | examples/ThirdPartyLibs/zlib/gzguts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ThirdPartyLibs/zlib/gzguts.h b/examples/ThirdPartyLibs/zlib/gzguts.h index 39274b8f5..9977748b7 100644 --- a/examples/ThirdPartyLibs/zlib/gzguts.h +++ b/examples/ThirdPartyLibs/zlib/gzguts.h @@ -20,6 +20,7 @@ #include <stdio.h> #include "zlib.h" +#include <unistd.h> #ifdef STDC #include <string.h> #include <stdlib.h> |